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
|
@ -108,7 +108,7 @@ typedef struct {
|
|||
[super dealloc];
|
||||
}
|
||||
|
||||
- (unsigned) hash
|
||||
- (NSUInteger) hash
|
||||
{
|
||||
return [[self host] hash] + [self port]
|
||||
+ [[self realm] hash] + [[self protocol] hash]
|
||||
|
@ -121,7 +121,7 @@ typedef struct {
|
|||
}
|
||||
|
||||
- (id) initWithHost: (NSString *)host
|
||||
port: (int)port
|
||||
port: (NSInteger)port
|
||||
protocol: (NSString *)protocol
|
||||
realm: (NSString *)realm
|
||||
authenticationMethod: (NSString *)authenticationMethod
|
||||
|
@ -158,7 +158,7 @@ authenticationMethod: (NSString *)authenticationMethod
|
|||
}
|
||||
|
||||
- (id) initWithProxyHost: (NSString *)host
|
||||
port: (int)port
|
||||
port: (NSInteger)port
|
||||
type: (NSString *)type
|
||||
realm: (NSString *)realm
|
||||
authenticationMethod: (NSString *)authenticationMethod
|
||||
|
@ -250,7 +250,7 @@ authenticationMethod: (NSString *)authenticationMethod
|
|||
return this->isProxy;
|
||||
}
|
||||
|
||||
- (int) port
|
||||
- (NSInteger) port
|
||||
{
|
||||
return this->port;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue