Fixed error in DO - NXConstantString should always encode itsself as an

NSGCString


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3106 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1998-10-23 15:47:07 +00:00
parent bebb8238e5
commit 12c5e09764

View file

@ -131,6 +131,16 @@
}
}
- (Class) classForArchiver
{
return [self class];
}
- (Class) classForCoder
{
return [self class];
}
- (Class) classForPortCoder
{
return [self class];
@ -703,11 +713,21 @@ stringDecrementCountAndFillHoleAt(NSGMutableCStringStruct *self,
* archive and readi it back, the new copy will never be deallocated -
* causing a memory leak. So we tell the system to use the super class.
*/
- (Class)classForArchiver
{
return [self superclass];
}
- (Class)classForCoder
{
return [self superclass];
}
- (Class)classForPortCoder
{
return [self superclass];
}
- (void)dealloc
{
}