mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-02 01:21:08 +00:00
([NXConstantString -dealloc]): New method.
([NXConstantString -cString]): New method. ([NXConstantString -retain]): New method. ([NXConstantString -release]): New method. ([NXConstantString -autorelease]): New method. ([NXConstantString -copyWithZone:]): New method. (From Jeremy Bettis). git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@507 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
adbd615d4f
commit
c4f3913247
1 changed files with 30 additions and 0 deletions
|
@ -983,4 +983,34 @@
|
||||||
|
|
||||||
|
|
||||||
@implementation NXConstantString
|
@implementation NXConstantString
|
||||||
|
|
||||||
|
- (void)dealloc
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
- (const char*) cString
|
||||||
|
{
|
||||||
|
return _contents_chars;
|
||||||
|
}
|
||||||
|
|
||||||
|
- retain
|
||||||
|
{
|
||||||
|
return self;
|
||||||
|
}
|
||||||
|
|
||||||
|
- release
|
||||||
|
{
|
||||||
|
return self;
|
||||||
|
}
|
||||||
|
|
||||||
|
- autorelease
|
||||||
|
{
|
||||||
|
return self;
|
||||||
|
}
|
||||||
|
|
||||||
|
- copyWithZone: (NSZone*)z
|
||||||
|
{
|
||||||
|
return self;
|
||||||
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue