mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8523 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
36f2a26be9
commit
e0256e7ac3
2 changed files with 28 additions and 0 deletions
|
@ -9,6 +9,8 @@
|
|||
* Source/GSArray.m: simplified version of GSArray.m
|
||||
Added GSPlaceholderArray.
|
||||
* Source/NSSerializer.m: use GSInlineArray where possible.
|
||||
* Source/GSSet.m: Provide decoding of NSGSet for backward compatibility.
|
||||
* Source/NSException.m: Avoid recursion in exception handler.
|
||||
|
||||
2001-01-04 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
|
|
|
@ -599,3 +599,29 @@ static Class mutableSetClass;
|
|||
|
||||
@end
|
||||
|
||||
@interface NSGSet : NSSet
|
||||
@end
|
||||
@implementation NSGSet
|
||||
- (id) initWithCoder: (NSCoder*)aCoder
|
||||
{
|
||||
NSLog(@"Warning - decoding archive containing obsolete %@ object - please delete/replace this archive", NSStringFromClass([self class]));
|
||||
RELEASE(self);
|
||||
self = (id)NSAllocateObject([GSSet class], 0, NSDefaultMallocZone());
|
||||
self = [self initWithCoder: aCoder];
|
||||
return self;
|
||||
}
|
||||
@end
|
||||
|
||||
@interface NSGMutableSet : NSMutableSet
|
||||
@end
|
||||
@implementation NSGMutableSet
|
||||
- (id) initWithCoder: (NSCoder*)aCoder
|
||||
{
|
||||
NSLog(@"Warning - decoding archive containing obsolete %@ object - please delete/replace this archive", NSStringFromClass([self class]));
|
||||
RELEASE(self);
|
||||
self = (id)NSAllocateObject([GSMutableSet class], 0, NSDefaultMallocZone());
|
||||
self = [self initWithCoder: aCoder];
|
||||
return self;
|
||||
}
|
||||
@end
|
||||
|
||||
|
|
Loading…
Reference in a new issue