([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:
Andrew McCallum 1995-08-02 15:25:34 +00:00
parent e485a33ee1
commit aa3a94fd74

View file

@ -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