mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 01:31:08 +00:00
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:
parent
193296169f
commit
f32db3d692
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue