mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-02 01:21:08 +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
7f01cf8753
commit
dcf4ac31ea
2 changed files with 1 additions and 16 deletions
|
@ -144,7 +144,7 @@ NSComparisonResult;
|
||||||
enum {NSNotFound = 0x7fffffff};
|
enum {NSNotFound = 0x7fffffff};
|
||||||
|
|
||||||
@interface NSObject (GNUstep)
|
@interface NSObject (GNUstep)
|
||||||
+ (id) newWithCoder: (NSCoder*)aCoder inZone: (NSZone*)aZone;
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface NSObject (NEXTSTEP)
|
@interface NSObject (NEXTSTEP)
|
||||||
|
|
|
@ -790,21 +790,6 @@ static BOOL double_release_check_enabled = NO;
|
||||||
|
|
||||||
@implementation NSObject (GNUstep)
|
@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
|
@end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue