aboutsummaryrefslogtreecommitdiff
path: root/Source/DOH/Doh/hash.c
diff options
context:
space:
mode:
authorDave Beazley <dave-swig@dabeaz.com>1999-08-09 23:02:33 +0000
committerDave Beazley <dave-swig@dabeaz.com>1999-08-09 23:02:33 +0000
commitbff836ae6a5bf6a8dc3702e9e117bdf72db708f1 (patch)
treeb0114520e866785d70f20a0b5dc90fc4d79269c9 /Source/DOH/Doh/hash.c
parentb199b4a034e24de52b3e41cb3ec8909c8462c609 (diff)
downloadswig-bff836ae6a5bf6a8dc3702e9e117bdf72db708f1.tar.gz
*** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Source/DOH/Doh/hash.c')
-rw-r--r--Source/DOH/Doh/hash.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/DOH/Doh/hash.c b/Source/DOH/Doh/hash.c
index ab1176cea..0011fe716 100644
--- a/Source/DOH/Doh/hash.c
+++ b/Source/DOH/Doh/hash.c
@@ -89,6 +89,7 @@ static DohObjInfo HashType = {
Hash_clear, /* sm_clear */
Hash_str, /* sm_str */
0, /* doh_data */
+ 0, /* doh_dump */
Hash_len, /* sm_len */
0, /* sm_hash */
0, /* doh_cmp */
@@ -446,15 +447,15 @@ Hash_str(DOH *ho) {
Append(s,"}\n");
#else
s = NewString("Hash");
- Appendf(s,"(%x) {",h);
+ Printf(s,"(%x) {",h);
for (i = 0; i < h->hashsize; i++) {
n = h->hashtable[i];
while (n) {
- Appendf(s,"'%o',", n->key);
+ Printf(s,"'%o',", n->key);
n = n->next;
}
}
- Appendf(s,"}");
+ Printf(s,"}");
#endif
return s;
}