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

@ -46,14 +46,14 @@ extern "C" {
+ (id) setWithObjects: (id)firstObject, ...;
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
+ (id) setWithObjects: (id*)objects
count: (unsigned)count;
count: (NSUInteger)count;
#endif
+ (id) setWithSet: (NSSet*)aSet;
- (NSArray*) allObjects;
- (id) anyObject;
- (BOOL) containsObject: (id)anObject;
- (unsigned) count;
- (NSUInteger) count;
- (NSString*) description;
- (NSString*) descriptionWithLocale: (NSDictionary*)locale;
@ -61,7 +61,7 @@ extern "C" {
- (id) initWithArray: (NSArray*)other;
- (id) initWithObjects: (id)firstObject, ...;
- (id) initWithObjects: (id*)objects
count: (unsigned)count;
count: (NSUInteger)count;
- (id) initWithSet: (NSSet*)other;
- (id) initWithSet: (NSSet*)other copyItems: (BOOL)flag;
@ -87,11 +87,11 @@ extern "C" {
@interface NSMutableSet: NSSet
+ (id) setWithCapacity: (unsigned)numItems;
+ (id) setWithCapacity: (NSUInteger)numItems;
- (void) addObject: (id)anObject;
- (void) addObjectsFromArray: (NSArray*)array;
- (id) initWithCapacity: (unsigned)numItems;
- (id) initWithCapacity: (NSUInteger)numItems;
- (void) intersectSet: (NSSet*)other;
- (void) minusSet: (NSSet*)other;
- (void) removeAllObjects;
@ -104,7 +104,7 @@ extern "C" {
@interface NSCountedSet : NSMutableSet
- (unsigned int) countForObject: (id)anObject;
- (NSUInteger) countForObject: (id)anObject;
@end
@ -125,7 +125,7 @@ extern "C" {
* been added once - and are therefore simply wasting space.
* </p>
*/
- (void) purge: (int)level;
- (void) purge: (NSInteger)level;
/**
* <p>
@ -175,13 +175,13 @@ id GSUnique(id anObject);
* set by removing any objec whose count is less than or equal to that given.
*
*/
void GSUPurge(unsigned count);
void GSUPurge(NSUInteger count);
/*
* GSUSet() can be used to artificially set the count for a particular object
* Setting the count to zero will remove the object from the global set.
*/
id GSUSet(id anObject, unsigned count);
id GSUSet(id anObject, NSUInteger count);
#endif /* GS_API_NONE */