Change names from "Concrete"-style to "G"-style.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@368 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1995-04-15 19:48:46 +00:00
parent d596d043fc
commit 958c22dda8
5 changed files with 21 additions and 22 deletions

View file

@ -24,7 +24,7 @@
#include <foundation/NSArray.h>
#include <foundation/NSString.h>
#include <foundation/NSConcreteArray.h>
#include <foundation/NSGArray.h>
#include <foundation/NSArrayEnumerator.h>
#include <limits.h>
@ -32,12 +32,12 @@
+ array
{
return [[[NSConcreteArray alloc] init] autorelease];
return [[[NSGArray alloc] init] autorelease];
}
+ arrayWithObject: anObject
{
id a = [[[NSConcreteArray class] alloc] init];
id a = [[[NSGArray class] alloc] init];
[a addObject: anObject];
return [a autorelease];
}
@ -88,7 +88,7 @@
{
va_list ap;
va_start(ap, firstObject);
self = [[NSConcreteArray alloc] initWithObjects:firstObject rest:ap];
self = [[NSGArray alloc] initWithObjects:firstObject rest:ap];
va_end(ap);
return [self autorelease];
}
@ -263,7 +263,7 @@
- mutableCopyWithZone: (NSZone*)zone
{
return [[NSConcreteMutableArray allocWithZone:zone] initWithArray:self];
return [[NSGMutableArray allocWithZone:zone] initWithArray:self];
}
@end
@ -272,7 +272,7 @@
+ arrayWithCapacity: (unsigned)numItems
{
return [[[[NSConcreteMutableArray class] alloc] initWithCapacity:numItems]
return [[[[NSGMutableArray class] alloc] initWithCapacity:numItems]
autorelease];
}