mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
encodeObjectBycopy -> encodeBycopyObject (to better match NeXT).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@863 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ea95786215
commit
8c3c74e514
2 changed files with 6 additions and 6 deletions
|
@ -236,7 +236,7 @@ static int messagesReceivedCount;
|
||||||
{
|
{
|
||||||
case _C_ID:
|
case _C_ID:
|
||||||
if (flags & _F_BYCOPY)
|
if (flags & _F_BYCOPY)
|
||||||
[op encodeObjectBycopy:*(id*)datum withName:ENCODED_ARGNAME];
|
[op encodeBycopyObject:*(id*)datum withName:ENCODED_ARGNAME];
|
||||||
else
|
else
|
||||||
[op encodeObject:*(id*)datum withName:ENCODED_ARGNAME];
|
[op encodeObject:*(id*)datum withName:ENCODED_ARGNAME];
|
||||||
break;
|
break;
|
||||||
|
@ -333,7 +333,7 @@ static int messagesReceivedCount;
|
||||||
{
|
{
|
||||||
case _C_ID:
|
case _C_ID:
|
||||||
if (flags & _F_BYCOPY)
|
if (flags & _F_BYCOPY)
|
||||||
[op encodeObjectBycopy:*(id*)datum withName:ENCODED_RETNAME];
|
[op encodeBycopyObject:*(id*)datum withName:ENCODED_RETNAME];
|
||||||
else
|
else
|
||||||
[op encodeObject:*(id*)datum withName:ENCODED_RETNAME];
|
[op encodeObject:*(id*)datum withName:ENCODED_RETNAME];
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Implementation of GNU Objective-C Proxy for remote object messaging
|
/* Implementation of GNU Objective-C Proxy for remote object messaging
|
||||||
Copyright (C) 1994, 1995 Free Software Foundation, Inc.
|
Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Written by: R. Andrew McCallum <mccallum@gnu.ai.mit.edu>
|
Written by: R. Andrew McCallum <mccallum@gnu.ai.mit.edu>
|
||||||
Date: July 1994
|
Date: July 1994
|
||||||
|
@ -148,7 +148,7 @@ static inline BOOL class_is_kind_of(Class self, Class aClassObject)
|
||||||
{
|
{
|
||||||
/* This proxy is local on the other side */
|
/* This proxy is local on the other side */
|
||||||
willBeLocal = YES;
|
willBeLocal = YES;
|
||||||
[aRmc encodeObjectBycopy:nil
|
[aRmc encodeBycopyObject:nil
|
||||||
withName:@"Proxy is local on other side"];
|
withName:@"Proxy is local on other side"];
|
||||||
[aRmc encodeValueOfObjCType:@encode(unsigned)
|
[aRmc encodeValueOfObjCType:@encode(unsigned)
|
||||||
at:&aTarget
|
at:&aTarget
|
||||||
|
@ -166,7 +166,7 @@ static inline BOOL class_is_kind_of(Class self, Class aClassObject)
|
||||||
fprintf(stderr, "Sending a triangle-connection proxy\n");
|
fprintf(stderr, "Sending a triangle-connection proxy\n");
|
||||||
/* It's remote here, so we need to tell other side where to form
|
/* It's remote here, so we need to tell other side where to form
|
||||||
triangle connection to */
|
triangle connection to */
|
||||||
[aRmc encodeObjectBycopy:op
|
[aRmc encodeBycopyObject:op
|
||||||
withName:@"Proxy outPort"];
|
withName:@"Proxy outPort"];
|
||||||
[aRmc encodeValueOfObjCType:@encode(unsigned)
|
[aRmc encodeValueOfObjCType:@encode(unsigned)
|
||||||
at:&aTarget
|
at:&aTarget
|
||||||
|
@ -184,7 +184,7 @@ static inline BOOL class_is_kind_of(Class self, Class aClassObject)
|
||||||
/* Let the connection know that we're going, this also retains anObj */
|
/* Let the connection know that we're going, this also retains anObj */
|
||||||
[[aRmc connection] addLocalObject:anObject];
|
[[aRmc connection] addLocalObject:anObject];
|
||||||
/* if nil port, other connection will use ConnectedCoder remotePort */
|
/* if nil port, other connection will use ConnectedCoder remotePort */
|
||||||
[aRmc encodeObjectBycopy:nil
|
[aRmc encodeBycopyObject:nil
|
||||||
withName:@"Proxy outPort == remotePort"];
|
withName:@"Proxy outPort == remotePort"];
|
||||||
[aRmc encodeValueOfObjCType:@encode(unsigned)
|
[aRmc encodeValueOfObjCType:@encode(unsigned)
|
||||||
at:&aTarget
|
at:&aTarget
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue