mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 12:16:40 +00:00
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:
parent
d596d043fc
commit
958c22dda8
5 changed files with 21 additions and 22 deletions
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue