mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 12:16:40 +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
e485a33ee1
commit
aa3a94fd74
1 changed files with 30 additions and 0 deletions
|
@ -983,4 +983,34 @@
|
|||
|
||||
|
||||
@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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue