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:
Richard Frith-MacDonald 2009-02-23 20:42:32 +00:00
parent 845a701069
commit 24d43481a8
138 changed files with 2094 additions and 1536 deletions

View file

@ -57,7 +57,7 @@ extern "C" {
* Return a set containing the single value anIndex, or returns nil if
* anIndex is NSNotFound.
*/
+ (id) indexSetWithIndex: (unsigned int)anIndex;
+ (id) indexSetWithIndex: (NSUInteger)anIndex;
/**
* Return a set containing all the values in aRange, or returns nil if
@ -68,7 +68,7 @@ extern "C" {
/**
* Returns YES if the receiver contains anIndex, NO otherwise.
*/
- (BOOL) containsIndex: (unsigned int)anIndex;
- (BOOL) containsIndex: (NSUInteger)anIndex;
/**
* Returns YES if the receiver contains all the index values present
@ -85,7 +85,7 @@ extern "C" {
/**
* Returns the number of index values present in the receiver.
*/
- (unsigned int) count;
- (NSUInteger) count;
#if OS_API_VERSION(100500,GS_API_LATEST)
/** Not implemented
@ -98,7 +98,7 @@ extern "C" {
* Returns the first index value in the receiver or NSNotFound if the
* receiver is empty.
*/
- (unsigned int) firstIndex;
- (NSUInteger) firstIndex;
/**
* Copies index values into aBuffer until there are no index values left or
@ -109,39 +109,39 @@ extern "C" {
* If aRange is a null pointer, this method attempts to get <em>all</em>
* index values from the set (and of course no range can be returned in it).
*/
- (unsigned int) getIndexes: (unsigned int*)aBuffer
maxCount: (unsigned int)aCount
inIndexRange: (NSRangePointer)aRange;
- (NSUInteger) getIndexes: (NSUInteger*)aBuffer
maxCount: (NSUInteger)aCount
inIndexRange: (NSRangePointer)aRange;
/**
* Return the first index value in the receiver which is greater than
* anIndex.
*/
- (unsigned int) indexGreaterThanIndex: (unsigned int)anIndex;
- (NSUInteger) indexGreaterThanIndex: (NSUInteger)anIndex;
/**
* Return the first index value in the receiver which is greater than
* or equal to anIndex.
*/
- (unsigned int) indexGreaterThanOrEqualToIndex: (unsigned int)anIndex;
- (NSUInteger) indexGreaterThanOrEqualToIndex: (NSUInteger)anIndex;
/**
* Return the first index value in the receiver which is less than
* anIndex.
*/
- (unsigned int) indexLessThanIndex: (unsigned int)anIndex;
- (NSUInteger) indexLessThanIndex: (NSUInteger)anIndex;
/**
* Return the first index value in the receiver which is less than
* or equal to anIndex.
*/
- (unsigned int) indexLessThanOrEqualToIndex: (unsigned int)anIndex;
- (NSUInteger) indexLessThanOrEqualToIndex: (NSUInteger)anIndex;
/**
* Initialise the receiver to contain anIndex. Returns the initialised
* object or nil if anIndex is NSNotFound.
*/
- (id) initWithIndex: (unsigned int)anIndex;
- (id) initWithIndex: (NSUInteger)anIndex;
/** <init />
* Initialise the receiver to contain all index values in aRange.
@ -169,7 +169,7 @@ extern "C" {
* Returns the last index value in the receiver or NSNotFound if the
* receiver is empty.
*/
- (unsigned int) lastIndex;
- (NSUInteger) lastIndex;
@end
@ -178,7 +178,7 @@ extern "C" {
/**
* Adds anIndex to the set of indexes stored in the receiver.
*/
- (void) addIndex: (unsigned int)anIndex;
- (void) addIndex: (NSUInteger)anIndex;
/**
* Adds all the indexes from aSet to the set of indexes stored in the receiver.
@ -198,7 +198,7 @@ extern "C" {
/**
* Removes anIndex from the set of indexes stored in the receiver.
*/
- (void) removeIndex: (unsigned int)anIndex;
- (void) removeIndex: (NSUInteger)anIndex;
/**
* Removes all the indexes in aSet from the set of indexes
@ -219,7 +219,8 @@ extern "C" {
* If amount is positive, a 'hole' will be left in the index range after
* anIndex.
*/
- (void) shiftIndexesStartingAtIndex: (unsigned int)anIndex by: (int)amount;
- (void) shiftIndexesStartingAtIndex: (NSUInteger)anIndex
by: (NSInteger)amount;
@end