mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +00:00
Removed references to cStringNoCopy.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2990 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1a0efaad7c
commit
0806cb068b
27 changed files with 143 additions and 149 deletions
|
@ -398,8 +398,8 @@ NSMapInsertKnownAbsent(NSMapTable *table, const void *key, const void *value)
|
|||
* date. */
|
||||
[NSException raise:NSInvalidArgumentException
|
||||
format:@"NSMapTable: illegal reinsertion of: %s -> %s",
|
||||
[NSMT_DESCRIBE_KEY(table, key) cStringNoCopy],
|
||||
[NSMT_DESCRIBE_VALUE(table, value) cStringNoCopy]];
|
||||
[NSMT_DESCRIBE_KEY(table, key) cString],
|
||||
[NSMT_DESCRIBE_VALUE(table, value) cString]];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -445,8 +445,8 @@ NSStringFromMapTable(NSMapTable *table)
|
|||
* descriptions to the string. */
|
||||
while (NSNextMapEnumeratorPair(&enumerator, &key, &value))
|
||||
[string appendFormat:@"%@ = %@;",
|
||||
[(keyCallBacks.describe)(table, key) cStringNoCopy],
|
||||
[(valueCallBacks.describe)(table, value) cStringNoCopy]];
|
||||
[(keyCallBacks.describe)(table, key) cString],
|
||||
[(valueCallBacks.describe)(table, value) cString]];
|
||||
|
||||
/* Note that this string'll need to be `retain'ed. */
|
||||
return string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue