mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Use new Archiver classes instead of Coder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@946 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1ecc7f734a
commit
7968d35f47
1 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include <objects/stdobjects.h>
|
||||
#include <Foundation/NSGArchiver.h>
|
||||
#include <objects/Coder.h>
|
||||
#include <objects/Archiver.h>
|
||||
#include <objects/behavior.h>
|
||||
|
||||
@implementation NSGArchiver
|
||||
|
@ -31,7 +31,7 @@
|
|||
+ (void) initialize
|
||||
{
|
||||
if (self == [NSGArchiver class])
|
||||
class_add_behavior([NSGArchiver class], [Coder class]);
|
||||
class_add_behavior([NSGArchiver class], [Archiver class]);
|
||||
}
|
||||
|
||||
@end
|
||||
|
@ -41,7 +41,7 @@
|
|||
+ (void) initialize
|
||||
{
|
||||
if (self == [NSGUnarchiver class])
|
||||
class_add_behavior([NSGUnarchiver class], [Coder class]);
|
||||
class_add_behavior([NSGUnarchiver class], [Unarchiver class]);
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue