mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Use (id <String>) instead of (String*)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@241 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
752988059d
commit
b9bb18e543
6 changed files with 36 additions and 30 deletions
|
@ -93,7 +93,7 @@ name_to_port_number (const char *name)
|
|||
return self;
|
||||
}
|
||||
|
||||
+ newPortFromRegisterWithName: (String*)name onHost: (String*)h
|
||||
+ newPortFromRegisterWithName: (id <String>)name onHost: (id <String>)h
|
||||
{
|
||||
id p;
|
||||
int n;
|
||||
|
@ -108,7 +108,7 @@ name_to_port_number (const char *name)
|
|||
return p;
|
||||
}
|
||||
|
||||
+ newRegisteredPortWithName: (String*)name
|
||||
+ newRegisteredPortWithName: (id <String>)name
|
||||
{
|
||||
int n;
|
||||
|
||||
|
@ -241,7 +241,7 @@ s1.sin_addr.s_addr == s2.sin_addr.s_addr)
|
|||
return sp;
|
||||
}
|
||||
|
||||
+ newRemoteWithNumber: (int)n onHost: (String*)h
|
||||
+ newRemoteWithNumber: (int)n onHost: (id <String>)h
|
||||
{
|
||||
struct sockaddr_in remote_addr;
|
||||
struct hostent *hp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue