From d0832c6aefa6b65e80bc7c99776082f4a6fb11e2 Mon Sep 17 00:00:00 2001 From: mccallum Date: Wed, 24 Jan 1996 03:19:37 +0000 Subject: [PATCH] Don't include (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 --- Headers/gnustep/base/Coding.h | 12 ++++++++++-- Source/objects/Coding.h | 12 ++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/Headers/gnustep/base/Coding.h b/Headers/gnustep/base/Coding.h index 2de20c636..52478bb1c 100644 --- a/Headers/gnustep/base/Coding.h +++ b/Headers/gnustep/base/Coding.h @@ -25,9 +25,9 @@ #define __Coding_h_OBJECTS_INCLUDE #include -#include -/* xxx Think about trying to get back in types, +/* #include + xxx Think about trying to get 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 /**/)name; +- (void) encodeValueOfCType: (const char*)type + at: (const void*)d + withName: (id /**/)name; + - (void) encodeWithName: (id /**/)name valuesOfObjCTypes: (const char *)types, ...; @@ -85,6 +89,10 @@ at: (void*)d withName: (id /**/ *) namePtr; +- (void) decodeValueOfCType: (const char*)type + at: (void*)d + withName: (id /**/ *) namePtr; + - (void) decodeWithName: (id /**/*)name valuesOfObjCTypes: (const char *) types, ...; diff --git a/Source/objects/Coding.h b/Source/objects/Coding.h index 2de20c636..52478bb1c 100644 --- a/Source/objects/Coding.h +++ b/Source/objects/Coding.h @@ -25,9 +25,9 @@ #define __Coding_h_OBJECTS_INCLUDE #include -#include -/* xxx Think about trying to get back in types, +/* #include + xxx Think about trying to get 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 /**/)name; +- (void) encodeValueOfCType: (const char*)type + at: (const void*)d + withName: (id /**/)name; + - (void) encodeWithName: (id /**/)name valuesOfObjCTypes: (const char *)types, ...; @@ -85,6 +89,10 @@ at: (void*)d withName: (id /**/ *) namePtr; +- (void) decodeValueOfCType: (const char*)type + at: (void*)d + withName: (id /**/ *) namePtr; + - (void) decodeWithName: (id /**/*)name valuesOfObjCTypes: (const char *) types, ...;