summaryrefslogtreecommitdiffstats
path: root/hash.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-02-14 06:58:14 -0800
committerKaz Kylheku <kaz@kylheku.com>2019-02-14 06:58:14 -0800
commit8c25a6210a1fc44901fd6ebf7fb3f63c0ca5eec0 (patch)
treeacb64699c567dba023fe5c3591fe96e22f3ef2ba /hash.h
parent4477112731119ebc28d5e4a9dce858d8d008af36 (diff)
downloadtxr-8c25a6210a1fc44901fd6ebf7fb3f63c0ca5eec0.tar.gz
txr-8c25a6210a1fc44901fd6ebf7fb3f63c0ca5eec0.tar.bz2
txr-8c25a6210a1fc44901fd6ebf7fb3f63c0ca5eec0.zip
gethash_f: removing function.
Uses of gethash_f can be replaced with gethash_e, which returns the hash cell directly rather than through a loc argument. Code that needs the value can call cdr itself. * hash.c (inhash, hash_isec, hash_update_1): Replace gethash_f with gethash_e. (gethash_f): Function removed. * hash.h (gethash_f): Declaration removed. * lib.c (use_sym, unuse_sym, find_symbol, unintern, intern_fallback, in, sel, populate_obj_hash): Replace gethash_f with gethash_e.
Diffstat (limited to 'hash.h')
-rw-r--r--hash.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/hash.h b/hash.h
index ed94d77a..e056d611 100644
--- a/hash.h
+++ b/hash.h
@@ -37,7 +37,6 @@ val gethash_e(val self, val hash, val key);
val gethash(val hash, val key);
val inhash(val hash, val key, val init);
val gethash_n(val hash, val key, val notfound_val);
-val gethash_f(val self, val hash, val key, loc found);
val sethash(val hash, val key, val value);
val pushhash(val hash, val key, val value);
val remhash(val hash, val key);