mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Ooops, should have been -> const id[].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33667 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8713e21d91
commit
dbe026608e
3 changed files with 6 additions and 6 deletions
|
@ -47,7 +47,7 @@ extern "C" {
|
|||
+ (id) setWithObject: (id)anObject;
|
||||
+ (id) setWithObjects: (id)firstObject, ...;
|
||||
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
|
||||
+ (id) setWithObjects: (const id*)objects
|
||||
+ (id) setWithObjects: (const id[])objects
|
||||
count: (NSUInteger)count;
|
||||
#endif
|
||||
+ (id) setWithSet: (NSSet*)aSet;
|
||||
|
@ -62,7 +62,7 @@ extern "C" {
|
|||
- (id) init;
|
||||
- (id) initWithArray: (NSArray*)other;
|
||||
- (id) initWithObjects: (id)firstObject, ...;
|
||||
- (id) initWithObjects: (const id*)objects
|
||||
- (id) initWithObjects: (const id[])objects
|
||||
count: (NSUInteger)count;
|
||||
- (id) initWithSet: (NSSet*)other;
|
||||
- (id) initWithSet: (NSSet*)other copyItems: (BOOL)flag;
|
||||
|
|
|
@ -227,7 +227,7 @@ static GC_descr nodeDesc; // Type descriptor for map node.
|
|||
return self;
|
||||
}
|
||||
|
||||
- (id) initWithObjects: (const id*)objs count: (NSUInteger)c
|
||||
- (id) initWithObjects: (const id[])objs count: (NSUInteger)c
|
||||
{
|
||||
NSUInteger i;
|
||||
|
||||
|
|
|
@ -110,7 +110,7 @@ static Class NSMutableSet_concrete_class;
|
|||
/**
|
||||
* New set containing (unique elements of) objects.
|
||||
*/
|
||||
+ (id) setWithObjects: (const id*)objects
|
||||
+ (id) setWithObjects: (const id[])objects
|
||||
count: (NSUInteger)count
|
||||
{
|
||||
return AUTORELEASE([[self allocWithZone: NSDefaultMallocZone()]
|
||||
|
@ -314,7 +314,7 @@ static Class NSMutableSet_concrete_class;
|
|||
* and needs to be re-implemented in subclasses in order to have all
|
||||
* other initialisers work.
|
||||
*/
|
||||
- (id) initWithObjects: (const id*)objects
|
||||
- (id) initWithObjects: (const id[])objects
|
||||
count: (NSUInteger)count
|
||||
{
|
||||
self = [self init];
|
||||
|
@ -1005,7 +1005,7 @@ static Class NSMutableSet_concrete_class;
|
|||
[self subclassResponsibility: _cmd];
|
||||
}
|
||||
|
||||
- (id) initWithObjects: (const id*)objects
|
||||
- (id) initWithObjects: (const id[])objects
|
||||
count: (NSUInteger)count
|
||||
{
|
||||
self = [self initWithCapacity: count];
|
||||
|
|
Loading…
Reference in a new issue