mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 12:16:40 +00:00
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:
parent
eaa0fe908e
commit
a4d33fa28e
19 changed files with 90 additions and 90 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue