mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
fixups for libobjc2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29753 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f366d9d303
commit
7ff4d4c9c7
67 changed files with 328 additions and 253 deletions
|
@ -387,7 +387,7 @@ static Class NSDoubleNumberClass;
|
|||
#define INTEGER_MACRO(type, ignored, name) \
|
||||
- (id) initWith ## name: (type)aValue \
|
||||
{\
|
||||
[self release];\
|
||||
DESTROY(self);\
|
||||
return [[NSNumberClass numberWith ## name: aValue] retain];\
|
||||
}
|
||||
|
||||
|
@ -395,7 +395,7 @@ static Class NSDoubleNumberClass;
|
|||
|
||||
- (id) initWithBool: (BOOL)aValue
|
||||
{
|
||||
[self release];
|
||||
DESTROY(self);
|
||||
return [ReusedInstances[aValue ? 2 : 1] retain];\
|
||||
}
|
||||
|
||||
|
@ -620,7 +620,7 @@ if (aValue >= -1 && aValue <= 12)\
|
|||
*/
|
||||
- (id) init
|
||||
{
|
||||
[self release];
|
||||
DESTROY(self);
|
||||
return nil;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue