mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +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
0b528e776c
commit
30cf8bf35b
138 changed files with 2094 additions and 1536 deletions
|
@ -201,7 +201,7 @@ extern BOOL __objc_responds_to(id, SEL);
|
|||
/**
|
||||
* Returns the maximum unsigned integer value.
|
||||
*/
|
||||
+ (unsigned int) retainCount
|
||||
+ (NSUInteger) retainCount
|
||||
{
|
||||
return UINT_MAX;
|
||||
}
|
||||
|
@ -304,7 +304,7 @@ extern BOOL __objc_responds_to(id, SEL);
|
|||
/**
|
||||
* Returns the address of the receiver ... so it can be stored in a dictionary.
|
||||
*/
|
||||
- (unsigned int) hash
|
||||
- (NSUInteger) hash
|
||||
{
|
||||
/*
|
||||
* Ideally we would shift left to lose any zero bits produced by the
|
||||
|
@ -313,7 +313,7 @@ extern BOOL __objc_responds_to(id, SEL);
|
|||
* In the absence of detailed information, pick a reasonable value
|
||||
* assuming the object will be aligned to an eight byte boundary.
|
||||
*/
|
||||
return ((unsigned)(uintptr_t)self)>>3;
|
||||
return ((NSUInteger)(uintptr_t)self)>>3;
|
||||
}
|
||||
|
||||
/** <init /> <override-subclass />
|
||||
|
@ -550,7 +550,7 @@ extern BOOL __objc_responds_to(id, SEL);
|
|||
/**
|
||||
* Return the retain count for the receiver.
|
||||
*/
|
||||
- (unsigned int) retainCount
|
||||
- (NSUInteger) retainCount
|
||||
{
|
||||
return _retain_count + 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue