mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Missing part of the NSArray update.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33609 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
24d2d9bad2
commit
018fab87bd
1 changed files with 2 additions and 2 deletions
|
@ -145,7 +145,7 @@ static Class gcClass = 0;
|
|||
}
|
||||
}
|
||||
|
||||
- (id) initWithObjects: (id*)objects count: (NSUInteger)count
|
||||
- (id) initWithObjects: (const id[])objects count: (NSUInteger)count
|
||||
{
|
||||
_contents = NSZoneMalloc([self zone], count * (sizeof(id) + sizeof(BOOL)));
|
||||
_isGCObject = (BOOL*)&_contents[count];
|
||||
|
@ -297,7 +297,7 @@ static Class gcClass = 0;
|
|||
return self;
|
||||
}
|
||||
|
||||
- (id) initWithObjects: (id *)objects count: (NSUInteger)count
|
||||
- (id) initWithObjects: (const id [])objects count: (NSUInteger)count
|
||||
{
|
||||
self = [self initWithCapacity: count];
|
||||
if (self != nil)
|
||||
|
|
Loading…
Reference in a new issue