mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-21 02:20:55 +00:00
* EOControl/EOCheapArray.h/m (-initWithArray:): Correct
signature and only initialize instance variable if call to super init was successfull. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@20709 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
75f86142d0
commit
d30af1a4aa
3 changed files with 8 additions and 6 deletions
|
@ -1,7 +1,10 @@
|
|||
2005-02-10 David Ayers <d.ayers@inode.at>
|
||||
|
||||
* EOAccess/EOModel.m (writeToFile:): Clairfy documentation about
|
||||
* EOAccess/EOModel.m (-writeToFile:): Clairfy documentation about
|
||||
setting receivers name and path.
|
||||
* EOControl/EOCheapArray.h/m (-initWithArray:): Correct signature
|
||||
and only initialize instance variable if call to super init was
|
||||
successfull.
|
||||
|
||||
2005-02-13 Manuel Guesdon <mguesdon@orange-concept.com>
|
||||
* EOControl/EOClassDescription.m:
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
unsigned int _refcount;
|
||||
}
|
||||
|
||||
- (id)initWithArray: (id)array;
|
||||
- (id)initWithArray: (NSArray *)array;
|
||||
- (id)initWithObjects: (id *)objects
|
||||
count: (unsigned int)count;
|
||||
- (void)release;
|
||||
|
|
|
@ -66,7 +66,7 @@ RCS_ID("$Id$")
|
|||
|
||||
return [super init];
|
||||
};
|
||||
- (id) initWithArray: (id)array
|
||||
- (id)initWithArray: (NSArray *)array
|
||||
{
|
||||
#ifdef DEBUG
|
||||
NSDebugFLog(@"initWithArray EOCheapCopyArray %p",
|
||||
|
@ -243,12 +243,11 @@ RCS_ID("$Id$")
|
|||
return self;
|
||||
}
|
||||
|
||||
- (id) initWithArray:(NSArray*)array
|
||||
- (id)initWithArray: (NSArray *)array
|
||||
{
|
||||
_grow_factor = 5;
|
||||
|
||||
if ((self = [super initWithArray: array]))
|
||||
{
|
||||
_grow_factor = 5;
|
||||
}
|
||||
|
||||
return self;
|
||||
|
|
Loading…
Reference in a new issue