(NSArray +allocWithZone:): Fixed to use NSAllocateObject.

(NSMutableArray +allocWithZone:): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@409 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1995-05-05 17:58:46 +00:00
parent 3131b8564b
commit 9dfa0537ac

View file

@ -32,7 +32,7 @@
+ allocWithZone: (NSZone*)z
{
return [NSGArray allocWithZone:z];
return NSAllocateObject([NSGArray class], 0, z);
}
+ array
@ -277,7 +277,7 @@
+ allocWithZone: (NSZone*)z
{
return [NSGMutableArray allocWithZone:z];
return NSAllocateObject([NSGMutableArray class], 0, z);
}
+ arrayWithCapacity: (unsigned)numItems