Move implementation of NSGUnarchiver here from NSGUnarchiver.m.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@856 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-01-26 20:03:30 +00:00
parent c564c597a9
commit 65b89ee4fa

View file

@ -34,7 +34,17 @@
class_add_behavior([NSGArchiver class], [Coder class]);
}
#define self ((Coder*)self)
/* In case any other methods are defined here later... */
@end
@implementation NSGUnarchiver
+ (void) initialize
{
if (self == [NSGUnarchiver class])
class_add_behavior([NSGUnarchiver class], [Coder class]);
}
@end
/* Use this if you want to define any other methods... */
#define self ((Coder*)self)