summaryrefslogtreecommitdiffstats
path: root/hash.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-10-29 06:36:13 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-10-29 14:46:43 -0700
commit6896d02e5bdb2deb0f0b3d3becfe55dd9981a78b (patch)
tree9170e0a0036b6b5946414f7239a203f00ec968b4 /hash.h
parent7cab13d777f7c70ca3db2589c253d59f646c7e6d (diff)
downloadtxr-6896d02e5bdb2deb0f0b3d3becfe55dd9981a78b.tar.gz
txr-6896d02e5bdb2deb0f0b3d3becfe55dd9981a78b.tar.bz2
txr-6896d02e5bdb2deb0f0b3d3becfe55dd9981a78b.zip
naming: get the -func out, at least some of it.
The code base contains a lot of irksome _func which should be _fun, and also the public functions func-get-form and func-get-name are irksomely named. As a first step, we can fix parameters which carry this suffix. * glob.c (global_wrap): errfunc argument renamed to errfun. * glob.h (global_wrap): Likewise. * hash.h (hash_uni, hash_isec): join_func argument renamed to joinfun. * hash.h (hash_uni, hash_isec): Likewise. * txr.1: fixed gen-func typo. Arguments renamed in descriptions of hash-uni, hash-isec, iff, iffi, glob, and ftw.
Diffstat (limited to 'hash.h')
-rw-r--r--hash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hash.h b/hash.h
index 869e6fbd..84045156 100644
--- a/hash.h
+++ b/hash.h
@@ -68,10 +68,10 @@ val hash_keys(val hash);
val hash_values(val hash);
val hash_pairs(val hash);
val hash_alist(val hash);
-val hash_uni(val hash1, val hash2, val join_func);
+val hash_uni(val hash1, val hash2, val joinfun);
val hash_diff(val hash1, val hash2);
val hash_symdiff(val hash1, val hash2);
-val hash_isec(val hash1, val hash2, val join_func);
+val hash_isec(val hash1, val hash2, val joinfun);
val hash_subset(val hash1, val hash2);
val hash_proper_subset(val hash1, val hash2);
val hash_update(val hash, val fun);