mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Updates for 10.5 API changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27962 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
845a701069
commit
24d43481a8
138 changed files with 2094 additions and 1536 deletions
|
@ -44,20 +44,20 @@ extern "C" {
|
|||
*/
|
||||
@interface NSIndexPath : NSObject <NSCopying, NSCoding>
|
||||
{
|
||||
unsigned _hash;
|
||||
unsigned _length;
|
||||
unsigned *_indexes;
|
||||
NSUInteger _hash;
|
||||
NSUInteger _length;
|
||||
NSUInteger *_indexes;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a path containing the single value anIndex.
|
||||
*/
|
||||
+ (id) indexPathWithIndex: (unsigned)anIndex;
|
||||
+ (id) indexPathWithIndex: (NSUInteger)anIndex;
|
||||
|
||||
/**
|
||||
* Return a path containing all the indexes in the supplied array.
|
||||
*/
|
||||
+ (id) indexPathWithIndexes: (unsigned*)indexes length: (unsigned)length;
|
||||
+ (id) indexPathWithIndexes: (NSUInteger*)indexes length: (NSUInteger)length;
|
||||
|
||||
/**
|
||||
* Compares other with the receiver.<br />
|
||||
|
@ -71,18 +71,18 @@ extern "C" {
|
|||
/**
|
||||
* Copies all index values from the receiver into aBuffer.
|
||||
*/
|
||||
- (void) getIndexes: (unsigned*)aBuffer;
|
||||
- (void) getIndexes: (NSUInteger*)aBuffer;
|
||||
|
||||
/**
|
||||
* Return the index at the specified position or NSNotFound if there
|
||||
* is no index at the specified position.
|
||||
*/
|
||||
- (unsigned) indexAtPosition: (unsigned)position;
|
||||
- (NSUInteger) indexAtPosition: (NSUInteger)position;
|
||||
|
||||
/**
|
||||
* Return path formed by adding anIndex to the receiver.
|
||||
*/
|
||||
- (NSIndexPath *) indexPathByAddingIndex: (unsigned)anIndex;
|
||||
- (NSIndexPath *) indexPathByAddingIndex: (NSUInteger)anIndex;
|
||||
|
||||
/**
|
||||
* Return path formed by removing the last index from the receiver.
|
||||
|
@ -93,18 +93,18 @@ extern "C" {
|
|||
* Returns the shared instance containing the specified index, creating it
|
||||
* and destroying the receiver if necessary.
|
||||
*/
|
||||
- (id) initWithIndex: (unsigned)anIndex;
|
||||
- (id) initWithIndex: (NSUInteger)anIndex;
|
||||
|
||||
/** <init />
|
||||
* Returns the shared instance containing the specified index array,
|
||||
* creating it and destroying the receiver if necessary.
|
||||
*/
|
||||
- (id) initWithIndexes: (unsigned*)indexes length: (unsigned)length;
|
||||
- (id) initWithIndexes: (NSUInteger*)indexes length: (NSUInteger)length;
|
||||
|
||||
/**
|
||||
* Returns the number of index values present in the receiver.
|
||||
*/
|
||||
- (unsigned) length;
|
||||
- (NSUInteger) length;
|
||||
|
||||
@end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue