This is IKeyedObject.m in view mode; [Download] [Up]
#import "IKeyedObject.h"
#import <objc/hashtable.h>
@implementation IKeyedObject
- initWithKey:(const char *)aKey
{
[super init];
key = NXCopyStringBufferFromZone(aKey, [self zone]);
return(self);
}
- (const char *)key
{
return(key);
}
- free
{
NXZoneFree([self zone], key);
return([super free]);
}
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.