Class cluster and encoding/decoding fixes.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@7825 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 2000-10-16 12:35:42 +00:00
parent 1770f4dc78
commit 65241c052d
12 changed files with 276 additions and 178 deletions

View file

@ -137,6 +137,11 @@ static SEL rlSel = @selector(removeLastObject);
/* The NSCoding Protocol */
- (Class) classForCoder
{
return NSArray_abstract_class;
}
- (void) encodeWithCoder: (NSCoder*)aCoder
{
unsigned count = [self count];
@ -802,6 +807,11 @@ static NSString *indentStrings[] = {
}
}
- (Class) classForCoder
{
return NSMutableArray_abstract_class;
}
/* The NSCopying Protocol */
- (id) copyWithZone: (NSZone*)zone