mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
New string functions, patches from Richard and Wacko.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2676 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5bbd6ca292
commit
cc39cb890a
10 changed files with 168 additions and 36 deletions
|
@ -731,9 +731,16 @@ static int messages_received_count;
|
|||
|
||||
+ (NSDistantObject*) rootProxyAtPort: (NSPort*)anOutPort
|
||||
{
|
||||
id newInPort = [default_receive_port_class newForReceiving];
|
||||
return [self rootProxyAtPort: anOutPort
|
||||
NSConnection *c = [self connectionByOutPort: anOutPort];
|
||||
|
||||
if (c)
|
||||
return [c rootProxy];
|
||||
else
|
||||
{
|
||||
id newInPort = [default_receive_port_class newForReceiving];
|
||||
return [self rootProxyAtPort: anOutPort
|
||||
withInPort: [newInPort autorelease]];
|
||||
}
|
||||
}
|
||||
|
||||
+ (NSDistantObject*) rootProxyAtPort: (NSPort*)anOutPort
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue