mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Removed [+newWithCoder:inZone:] - not really OpenStep compatible.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3086 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b9ed7d103d
commit
3c33653bdb
2 changed files with 1 additions and 16 deletions
|
@ -144,7 +144,7 @@ NSComparisonResult;
|
|||
enum {NSNotFound = 0x7fffffff};
|
||||
|
||||
@interface NSObject (GNUstep)
|
||||
+ (id) newWithCoder: (NSCoder*)aCoder inZone: (NSZone*)aZone;
|
||||
|
||||
@end
|
||||
|
||||
@interface NSObject (NEXTSTEP)
|
||||
|
|
|
@ -790,21 +790,6 @@ static BOOL double_release_check_enabled = NO;
|
|||
|
||||
@implementation NSObject (GNUstep)
|
||||
|
||||
/*
|
||||
* GNUstep extensions to the OpenStep standard.
|
||||
*/
|
||||
|
||||
+ (id) newWithCoder: (NSCoder*)coder inZone: (NSZone*)zone
|
||||
{
|
||||
id obj;
|
||||
|
||||
obj = [self allocWithZone: zone];
|
||||
if (obj) {
|
||||
obj = [obj initWithCoder: coder];
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue