mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +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
|
@ -322,6 +322,29 @@ extern "C" {
|
|||
* Returns whether receiver and otherNumber represent the same numerical value.
|
||||
*/
|
||||
- (BOOL) isEqualToNumber: (NSNumber*)otherNumber;
|
||||
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
|
||||
/** Return a number intialised with NSInteger.
|
||||
*/
|
||||
+ (NSNumber*) numberWithInteger: (NSInteger)value;
|
||||
/** Return a number intialised with NSUInteger.
|
||||
*/
|
||||
+ (NSNumber*) numberWithUnsignedInteger: (NSUInteger)value;
|
||||
/** Initialise the receiver with NSInteger content.
|
||||
*/
|
||||
- (id) initWithInteger: (NSInteger)value;
|
||||
/** Initialise the receiver with NSUInteger content.
|
||||
*/
|
||||
- (id) initWithUnsignedInteger: (NSUInteger)value;
|
||||
/** Return the contents of the receiver as NSInteger.
|
||||
*/
|
||||
- (NSInteger) integerValue;
|
||||
/** Return the contents of the receiver as NSUInteger.
|
||||
*/
|
||||
- (NSUInteger) unsignedIntegerValue;
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
||||
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue