mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
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:
parent
c564c597a9
commit
65b89ee4fa
1 changed files with 12 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue