Use String* instead of char*.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@112 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1995-03-12 21:50:07 +00:00
parent 71faa85784
commit 6c36e166d7
9 changed files with 28 additions and 25 deletions

View file

@ -448,7 +448,7 @@ static int messagesReceivedCount;
if we're connecting to another Connection that already registered
with that name. */
+ (Connection*) newRegisteringAtName: (const char*)n withRootObject: anObj
+ (Connection*) newRegisteringAtName: (String*)n withRootObject: anObj
{
id newPort;
id newConn;
@ -460,12 +460,12 @@ static int messagesReceivedCount;
return newConn;
}
+ (Proxy*) rootProxyAtName: (const char*)n;
+ (Proxy*) rootProxyAtName: (String*)n;f
{
return [self rootProxyAtName:n onHost:""];
}
+ (Proxy*) rootProxyAtName: (const char*)n onHost: (const char*)h;
+ (Proxy*) rootProxyAtName: (String*)n onHost: (String*)h;
{
id p = [default_port_class newPortFromRegisterWithName:n onHost:h];
return [self rootProxyAtPort:p];