mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +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
|
@ -33,7 +33,7 @@
|
|||
#include <objects/Dictionary.h>
|
||||
#include <objects/Queue.h>
|
||||
#include <objects/mframe.h>
|
||||
#include <objects/String.h>
|
||||
#include <foundation/NSString.h>
|
||||
#include <assert.h>
|
||||
|
||||
@interface Connection (GettingCoderInterface)
|
||||
|
@ -448,7 +448,7 @@ static int messagesReceivedCount;
|
|||
if we're connecting to another Connection that already registered
|
||||
with that name. */
|
||||
|
||||
+ (Connection*) newRegisteringAtName: (String*)n withRootObject: anObj
|
||||
+ (Connection*) newRegisteringAtName: (id <String>)n withRootObject: anObj
|
||||
{
|
||||
id newPort;
|
||||
id newConn;
|
||||
|
@ -460,12 +460,12 @@ static int messagesReceivedCount;
|
|||
return newConn;
|
||||
}
|
||||
|
||||
+ (Proxy*) rootProxyAtName: (String*)n
|
||||
+ (Proxy*) rootProxyAtName: (id <String>)n
|
||||
{
|
||||
return [self rootProxyAtName:n onHost:@""];
|
||||
}
|
||||
|
||||
+ (Proxy*) rootProxyAtName: (String*)n onHost: (String*)h
|
||||
+ (Proxy*) rootProxyAtName: (id <String>)n onHost: (id <String>)h
|
||||
{
|
||||
id p = [default_port_class newPortFromRegisterWithName:n onHost:h];
|
||||
return [self rootProxyAtPort:p];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue