mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
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:
parent
b50c6a26a6
commit
616afca949
1 changed files with 3 additions and 3 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue