Use string objects instead of C strings

for name arguments to encoding methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@796 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mccallum 1996-01-24 03:33:21 +00:00
parent a11f420b91
commit 07b43d0e5d
14 changed files with 41 additions and 41 deletions

View file

@ -60,7 +60,7 @@
- (void) encodeWithCoder: aCoder
{
[aCoder encodeValueOfObjCType:@encode(char*) at:&_contents_chars
withName:"Concrete String content_chars"];
withName:@"Concrete String content_chars"];
}
- initWithCoder: aCoder
@ -256,9 +256,9 @@ stringDecrementCountAndFillHoleAt(NSGMutableCStringStruct *self,
- (void) encodeWithCoder: aCoder
{
[aCoder encodeValueOfObjCType:@encode(unsigned) at:&_capacity
withName:"String capacity"];
withName:@"String capacity"];
[aCoder encodeValueOfObjCType:@encode(char*) at:&_contents_chars
withName:"String content_chars"];
withName:@"String content_chars"];
}
- initWithCoder: aCoder