mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +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
|
@ -50,7 +50,7 @@ NSString* const NSCocoaErrorDomain = @"NSCocoaErrorDomain";
|
|||
@implementation NSError
|
||||
|
||||
+ (id) errorWithDomain: (NSString*)aDomain
|
||||
code: (int)aCode
|
||||
code: (NSInteger)aCode
|
||||
userInfo: (NSDictionary*)aDictionary
|
||||
{
|
||||
NSError *e = [self allocWithZone: NSDefaultMallocZone()];
|
||||
|
@ -59,7 +59,7 @@ NSString* const NSCocoaErrorDomain = @"NSCocoaErrorDomain";
|
|||
return AUTORELEASE(e);
|
||||
}
|
||||
|
||||
- (int) code
|
||||
- (NSInteger) code
|
||||
{
|
||||
return _code;
|
||||
}
|
||||
|
@ -133,7 +133,7 @@ NSString* const NSCocoaErrorDomain = @"NSCocoaErrorDomain";
|
|||
}
|
||||
|
||||
- (id) initWithDomain: (NSString*)aDomain
|
||||
code: (int)aCode
|
||||
code: (NSInteger)aCode
|
||||
userInfo: (NSDictionary*)aDictionary
|
||||
{
|
||||
if (aDomain == nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue