(NSArray +allocWithZone:): Implemented.

(NSMutableArray +allocWithZone:): Implemented.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@408 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1995-05-05 15:50:26 +00:00
parent afd4ae4eba
commit 3131b8564b

View file

@ -30,6 +30,11 @@
@implementation NSArray
+ allocWithZone: (NSZone*)z
{
return [NSGArray allocWithZone:z];
}
+ array
{
return [[[NSGArray alloc] init] autorelease];
@ -270,6 +275,11 @@
@implementation NSMutableArray: NSArray
+ allocWithZone: (NSZone*)z
{
return [NSGMutableArray allocWithZone:z];
}
+ arrayWithCapacity: (unsigned)numItems
{
return [[[[NSGMutableArray class] alloc] initWithCapacity:numItems]