mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Don't include <objects/String.h>
(Coding -encodeValueOfCType:at:withName:): New method. (Coding -decodeValueOfCType:at:withName:): New method. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@790 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
477eab35af
commit
eedc393ce0
2 changed files with 20 additions and 4 deletions
|
@ -25,9 +25,9 @@
|
|||
#define __Coding_h_OBJECTS_INCLUDE
|
||||
|
||||
#include <objects/stdobjects.h>
|
||||
#include <objects/String.h>
|
||||
|
||||
/* xxx Think about trying to get <String> back in types,
|
||||
/* #include <objects/String.h>
|
||||
xxx Think about trying to get <String> back in types,
|
||||
but now there is a circular dependancy in the include files. */
|
||||
|
||||
@protocol CommonCoding
|
||||
|
@ -41,6 +41,10 @@
|
|||
at: (const void*)d
|
||||
withName: (id /*<String>*/)name;
|
||||
|
||||
- (void) encodeValueOfCType: (const char*)type
|
||||
at: (const void*)d
|
||||
withName: (id /*<String>*/)name;
|
||||
|
||||
- (void) encodeWithName: (id /*<String>*/)name
|
||||
valuesOfObjCTypes: (const char *)types, ...;
|
||||
|
||||
|
@ -85,6 +89,10 @@
|
|||
at: (void*)d
|
||||
withName: (id /*<String>*/ *) namePtr;
|
||||
|
||||
- (void) decodeValueOfCType: (const char*)type
|
||||
at: (void*)d
|
||||
withName: (id /*<String>*/ *) namePtr;
|
||||
|
||||
- (void) decodeWithName: (id /*<String>*/*)name
|
||||
valuesOfObjCTypes: (const char *) types, ...;
|
||||
|
||||
|
|
|
@ -25,9 +25,9 @@
|
|||
#define __Coding_h_OBJECTS_INCLUDE
|
||||
|
||||
#include <objects/stdobjects.h>
|
||||
#include <objects/String.h>
|
||||
|
||||
/* xxx Think about trying to get <String> back in types,
|
||||
/* #include <objects/String.h>
|
||||
xxx Think about trying to get <String> back in types,
|
||||
but now there is a circular dependancy in the include files. */
|
||||
|
||||
@protocol CommonCoding
|
||||
|
@ -41,6 +41,10 @@
|
|||
at: (const void*)d
|
||||
withName: (id /*<String>*/)name;
|
||||
|
||||
- (void) encodeValueOfCType: (const char*)type
|
||||
at: (const void*)d
|
||||
withName: (id /*<String>*/)name;
|
||||
|
||||
- (void) encodeWithName: (id /*<String>*/)name
|
||||
valuesOfObjCTypes: (const char *)types, ...;
|
||||
|
||||
|
@ -85,6 +89,10 @@
|
|||
at: (void*)d
|
||||
withName: (id /*<String>*/ *) namePtr;
|
||||
|
||||
- (void) decodeValueOfCType: (const char*)type
|
||||
at: (void*)d
|
||||
withName: (id /*<String>*/ *) namePtr;
|
||||
|
||||
- (void) decodeWithName: (id /*<String>*/*)name
|
||||
valuesOfObjCTypes: (const char *) types, ...;
|
||||
|
||||
|
|
Loading…
Reference in a new issue