mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Change id* -> id[] for OS X 10.7 compatibility in NSArray. This change is required for ARC: now, id* means pointer to a single object, id[] means array.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33607 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2b6608b7fc
commit
d323a291d8
3 changed files with 17 additions and 17 deletions
|
@ -49,14 +49,14 @@ extern "C" {
|
|||
#endif
|
||||
+ (id) arrayWithObject: (id)anObject;
|
||||
+ (id) arrayWithObjects: (id)firstObject, ...;
|
||||
+ (id) arrayWithObjects: (const id*)objects count: (NSUInteger)count;
|
||||
+ (id) arrayWithObjects: (const id[])objects count: (NSUInteger)count;
|
||||
|
||||
- (NSArray*) arrayByAddingObject: (id)anObject;
|
||||
- (NSArray*) arrayByAddingObjectsFromArray: (NSArray*)anotherArray;
|
||||
- (BOOL) containsObject: anObject;
|
||||
- (NSUInteger) count; // Primitive
|
||||
- (void) getObjects: (id*)aBuffer;
|
||||
- (void) getObjects: (id*)aBuffer range: (NSRange)aRange;
|
||||
- (void) getObjects: (id[])aBuffer;
|
||||
- (void) getObjects: (id[])aBuffer range: (NSRange)aRange;
|
||||
- (NSUInteger) indexOfObject: (id)anObject;
|
||||
- (NSUInteger) indexOfObject: (id)anObject inRange: (NSRange)aRange;
|
||||
- (NSUInteger) indexOfObjectIdenticalTo: (id)anObject;
|
||||
|
@ -71,7 +71,7 @@ extern "C" {
|
|||
- (id) initWithContentsOfURL: (NSURL*)aURL;
|
||||
#endif
|
||||
- (id) initWithObjects: firstObject, ...;
|
||||
- (id) initWithObjects: (id*)objects count: (NSUInteger)count; // Primitive
|
||||
- (id) initWithObjects: (const id[])objects count: (NSUInteger)count; // Primitive
|
||||
|
||||
- (id) lastObject;
|
||||
- (id) objectAtIndex: (NSUInteger)index; // Primitive
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue