Changed cStringNoCopy to cString

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3105 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1998-10-23 12:14:28 +00:00
parent 25cfc35dab
commit dfca27ad7f
4 changed files with 17 additions and 7 deletions

View file

@ -1,4 +1,6 @@
/* A demonstration of writing and reading with NSArchiver */
// Fri Oct 23 03:02:04 MET DST 1998 dave@turbocat.de
// cStringNoCopy -> cString
#if 1
@ -30,7 +32,7 @@ int main()
{
id o, e = [set objectEnumerator];
while ((o = [e nextObject]))
printf("%s\n", [o cStringNoCopy]);
printf("%s\n", [o cString]);
}
apl = [[NSAutoreleasePool alloc] init];
@ -68,7 +70,7 @@ printf("%u\n", [arc retainCount]);
{
id o, e = [set objectEnumerator];
while ((o = [e nextObject]))
printf("%s\n", [o cStringNoCopy]);
printf("%s\n", [o cString]);
}
/* Do the autorelease. */