mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +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
|
@ -97,7 +97,7 @@ static Class NSCountedSet_concrete_class;
|
|||
* specified object (as determined by the [-isEqual:] method) has
|
||||
* been added to the set and not removed from it.
|
||||
*/
|
||||
- (unsigned int) countForObject: (id)anObject
|
||||
- (NSUInteger) countForObject: (id)anObject
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
return 0;
|
||||
|
@ -209,7 +209,7 @@ static Class NSCountedSet_concrete_class;
|
|||
return self;
|
||||
}
|
||||
|
||||
- (void) purge: (int)level
|
||||
- (void) purge: (NSInteger)level
|
||||
{
|
||||
if (level > 0)
|
||||
{
|
||||
|
@ -232,7 +232,7 @@ static Class NSCountedSet_concrete_class;
|
|||
{
|
||||
unsigned c = (*cImp)(self, @selector(countForObject:), obj);
|
||||
|
||||
if (c <= (unsigned int)level)
|
||||
if (c <= (NSUInteger)level)
|
||||
{
|
||||
while (c-- > 0)
|
||||
{
|
||||
|
@ -270,7 +270,7 @@ static Class NSCountedSet_concrete_class;
|
|||
* purge the set even when uniquing is turned off.
|
||||
*/
|
||||
void
|
||||
GSUPurge(unsigned count)
|
||||
GSUPurge(NSUInteger count)
|
||||
{
|
||||
if (uniqueLock != nil)
|
||||
{
|
||||
|
@ -292,10 +292,10 @@ GSUPurge(unsigned count)
|
|||
* alter the set even when uniquing is turned off.
|
||||
*/
|
||||
id
|
||||
GSUSet(id anObject, unsigned count)
|
||||
GSUSet(id anObject, NSUInteger count)
|
||||
{
|
||||
id found;
|
||||
unsigned i;
|
||||
NSUInteger i;
|
||||
|
||||
if (uniqueLock != nil)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue