Separate implemented, non-core methods into separate class, in

preparation for avoiding the duplication of these methods in Coder.m.
([NSCoder +initialize]): New method.
(NSCoderNonCore): New class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1510 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-05-07 18:08:01 +00:00
parent 193296169f
commit f32db3d692

View file

@ -28,6 +28,12 @@
@implementation NSCoder
+ (void) initialize
{
if (self == [NSCoder class])
behavior_class_add_class (self, [NSCoderNonCore class]);
}
- (void) encodeValueOfObjCType: (const char*)type
at: (const void*)address;
{
@ -57,6 +63,9 @@
return 0;
}
@end
@implementation NSCoderNonCore
// Encoding Data