Use new-style method name "..ValueOfObjCType"

and "..ValueOfCType", instead of "..ValueOfType" and
"..ValueOfSimpleType".


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@781 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-01-23 23:57:17 +00:00
parent eaa0fe908e
commit a4d33fa28e
19 changed files with 90 additions and 90 deletions

View file

@ -119,9 +119,9 @@ stringDecrementCountAndFillHoleAt(MutableCStringStruct *self,
- (void) encodeWithCoder: aCoder
{
[aCoder encodeValueOfType:@encode(unsigned) at:&_capacity
[aCoder encodeValueOfObjCType:@encode(unsigned) at:&_capacity
withName:"String capacity"];
[aCoder encodeValueOfType:@encode(char*) at:&_contents_chars
[aCoder encodeValueOfObjCType:@encode(char*) at:&_contents_chars
withName:"String content_chars"];
}
@ -130,9 +130,9 @@ stringDecrementCountAndFillHoleAt(MutableCStringStruct *self,
MutableCString *n;
unsigned cap;
[aCoder decodeValueOfType:@encode(unsigned) at:&cap withName:NULL];
[aCoder decodeValueOfObjCType:@encode(unsigned) at:&cap withName:NULL];
[self initWithCapacity:cap];
[aCoder decodeValueOfType:@encode(char*) at:_contents_chars
[aCoder decodeValueOfObjCType:@encode(char*) at:_contents_chars
withName:NULL];
_count = strlen(_contents_chars);
_capacity = cap;