Restored the DOH load method because it is a reserved interface to implement object serialization in the future.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@162 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-01-28 18:00:59 +00:00
commit 8266b8e9e2
8 changed files with 8 additions and 0 deletions

View file

@ -24,6 +24,7 @@ static DohObjInfo DohBaseType = {
0, /* doh_str */
0, /* doh_data */
0, /* doh_dump */
0, /* doh_load */
0, /* doh_len */
0, /* doh_hash */
0, /* doh_cmp */

View file

@ -71,6 +71,7 @@ static DohObjInfo DohCallableType = {
0, /* doh_str */
0, /* doh_data */
0, /* doh_dump */
0, /* doh_load */
0, /* doh_len */
0, /* doh_hash */
0, /* doh_cmp */

View file

@ -160,6 +160,7 @@ static DohObjInfo DohFileType = {
0, /* doh_str */
0, /* doh_data */
0, /* doh_dump */
0, /* doh_load */
0, /* doh_len */
0, /* doh_hash */
0, /* doh_cmp */

View file

@ -506,6 +506,7 @@ static DohObjInfo HashType = {
Hash_str, /* doh_str */
0, /* doh_data */
0, /* doh_dump */
0, /* doh_load */
Hash_len, /* doh_len */
0, /* doh_hash */
0, /* doh_cmp */

View file

@ -345,6 +345,7 @@ static DohObjInfo ListType = {
List_str, /* doh_str */
0, /* doh_data */
List_dump, /* doh_dump */
0, /* doh_load */
List_len, /* doh_len */
0, /* doh_hash */
0, /* doh_cmp */

View file

@ -86,6 +86,7 @@ static DohObjInfo StringType = {
String_str, /* doh_str */
String_data, /* doh_data */
String_dump, /* doh_dump */
0, /* doh_load */
String_len, /* doh_len */
String_hash, /* doh_hash */
String_cmp, /* doh_cmp */

View file

@ -71,6 +71,7 @@ static DohObjInfo DohVoidType = {
0, /* doh_str */
Void_data, /* doh_data */
0, /* doh_dump */
0, /* doh_load */
0, /* doh_len */
0, /* doh_hash */
0, /* doh_cmp */

View file

@ -106,6 +106,7 @@ typedef struct DohObjInfo {
DOH *(*doh_str)(DOH *obj); /* Make a full string */
void *(*doh_data)(DOH *obj); /* Return raw data */
int (*doh_dump)(DOH *obj, DOH *out); /* Serialize on out */
DOH *(*doh_load)(DOH *in); /* Unserialize from in */
/* Length and hash values */
int (*doh_len)(DOH *obj);