mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
(Coding -cStream): New method.
(Coder -encodeArrayOfObjCType:count:at:withName:): Renamed from -encodeArrayOfObjCType:at:count:withName:, to better match NeXT. (Coder -decodeArrayOfObjCType:count:at:withName:): Likewise. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@827 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ee9b0f15c9
commit
3462f391c1
2 changed files with 8 additions and 6 deletions
|
@ -35,6 +35,7 @@
|
|||
- (void) closeCoder;
|
||||
- (BOOL) isClosed;
|
||||
+ (int) defaultFormatVersion;
|
||||
- cStream;
|
||||
@end
|
||||
|
||||
@protocol Encoding <CommonCoding>
|
||||
|
@ -51,13 +52,13 @@
|
|||
valuesOfObjCTypes: (const char *)types, ...;
|
||||
|
||||
- (void) encodeArrayOfObjCType: (const char *)type
|
||||
at: (const void *)d
|
||||
count: (unsigned)c
|
||||
at: (const void *)d
|
||||
withName: (id /*<String>*/)name;
|
||||
|
||||
- (void) encodeObject: anObj
|
||||
withName: (id /*<String>*/)name;
|
||||
- (void) encodeObjectBycopy: anObj
|
||||
- (void) encodeBycopyObject: anObj
|
||||
withName: (id /*<String>*/)name;
|
||||
|
||||
- (void) encodeRootObject: anObj
|
||||
|
@ -99,8 +100,8 @@
|
|||
valuesOfObjCTypes: (const char *) types, ...;
|
||||
|
||||
- (void) decodeArrayOfObjCType: (const char *)type
|
||||
at: (void *)d
|
||||
count: (unsigned)c
|
||||
at: (void *)d
|
||||
withName: (id /*<String>*/*)name;
|
||||
|
||||
- (void) decodeObjectAt: (id*)anObjPtr
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
- (void) closeCoder;
|
||||
- (BOOL) isClosed;
|
||||
+ (int) defaultFormatVersion;
|
||||
- cStream;
|
||||
@end
|
||||
|
||||
@protocol Encoding <CommonCoding>
|
||||
|
@ -51,13 +52,13 @@
|
|||
valuesOfObjCTypes: (const char *)types, ...;
|
||||
|
||||
- (void) encodeArrayOfObjCType: (const char *)type
|
||||
at: (const void *)d
|
||||
count: (unsigned)c
|
||||
at: (const void *)d
|
||||
withName: (id /*<String>*/)name;
|
||||
|
||||
- (void) encodeObject: anObj
|
||||
withName: (id /*<String>*/)name;
|
||||
- (void) encodeObjectBycopy: anObj
|
||||
- (void) encodeBycopyObject: anObj
|
||||
withName: (id /*<String>*/)name;
|
||||
|
||||
- (void) encodeRootObject: anObj
|
||||
|
@ -99,8 +100,8 @@
|
|||
valuesOfObjCTypes: (const char *) types, ...;
|
||||
|
||||
- (void) decodeArrayOfObjCType: (const char *)type
|
||||
at: (void *)d
|
||||
count: (unsigned)c
|
||||
at: (void *)d
|
||||
withName: (id /*<String>*/*)name;
|
||||
|
||||
- (void) decodeObjectAt: (id*)anObjPtr
|
||||
|
|
Loading…
Reference in a new issue