Use constant string objects instead of C strings where appropriate.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@800 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-01-24 14:11:20 +00:00
parent b50c6a26a6
commit 616afca949

View file

@ -1,5 +1,5 @@
/* Implementation of connection object 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>
Date: July 1994
@ -231,7 +231,7 @@ static int messagesReceivedCount;
void encoder(int argnum, void *datum, const char *type, int flags)
{
#define ENCODED_ARGNAME "argument value"
#define ENCODED_ARGNAME @"argument value"
switch (*type)
{
case _C_ID:
@ -325,7 +325,7 @@ static int messagesReceivedCount;
}
void encoder (int argnum, void *datum, const char *type, int flags)
{
#define ENCODED_RETNAME "return value"
#define ENCODED_RETNAME @"return value"
if (op == nil)
op = [self newSendingReplyRmcWithSequenceNumber:
reply_sequence_number];