diff --git a/Headers/gnustep/base/CStreaming.h b/Headers/gnustep/base/CStreaming.h index 5190fdd9b..a97b7c0c8 100644 --- a/Headers/gnustep/base/CStreaming.h +++ b/Headers/gnustep/base/CStreaming.h @@ -32,11 +32,15 @@ - (void) encodeValueOfCType: (const char*) type at: (const void*) d withName: (id ) name; - - (void) decodeValueOfCType: (const char*) type at: (void*) d withName: (id *) namePtr; +- (void) encodeWithName: (id ) name + valuesOfCTypes: (const char *) types, ...; +- (void) decodeWithName: (id *)name + valuesOfCTypes: (const char *)types, ...; + - (void) encodeName: (id ) name; - (void) decodeName: (id *) name; diff --git a/Source/objects/CStreaming.h b/Source/objects/CStreaming.h index 5190fdd9b..a97b7c0c8 100644 --- a/Source/objects/CStreaming.h +++ b/Source/objects/CStreaming.h @@ -32,11 +32,15 @@ - (void) encodeValueOfCType: (const char*) type at: (const void*) d withName: (id ) name; - - (void) decodeValueOfCType: (const char*) type at: (void*) d withName: (id *) namePtr; +- (void) encodeWithName: (id ) name + valuesOfCTypes: (const char *) types, ...; +- (void) decodeWithName: (id *)name + valuesOfCTypes: (const char *)types, ...; + - (void) encodeName: (id ) name; - (void) decodeName: (id *) name;