summaryrefslogtreecommitdiffstats
path: root/hash.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2009-12-09 20:17:53 -0800
committerKaz Kylheku <kaz@kylheku.com>2009-12-09 20:17:53 -0800
commit440ed64162b328a51a911f2586c16513c2cfed67 (patch)
treecc6618d931585cbed81df544e35b2368c77e55e7 /hash.h
parent08ee01ea9e6bd1bedd565f9e0e1c1a8938710887 (diff)
downloadtxr-440ed64162b328a51a911f2586c16513c2cfed67.tar.gz
txr-440ed64162b328a51a911f2586c16513c2cfed67.tar.bz2
txr-440ed64162b328a51a911f2586c16513c2cfed67.zip
* hash.c (sethash): New function.
* hash.h (sethash): Declared. * lib.c (cobj_handle): New function. * lib.h (cobj_handle): Declared.
Diffstat (limited to 'hash.h')
-rw-r--r--hash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hash.h b/hash.h
index 68d500fc..737e5165 100644
--- a/hash.h
+++ b/hash.h
@@ -28,6 +28,7 @@ val hash_obj(val);
val make_hash(val weak_keys, val weak_vals);
val *gethash_l(val hash, val key, val *new_p);
val gethash(val hash, val key);
+val sethash(val hash, val key, val value);
val remhash(val hash, val key);
void hash_process_weak(void);