summaryrefslogtreecommitdiffstats
path: root/hash.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-01-20 01:03:51 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-01-20 01:03:51 -0800
commit9a2f9df335393284f6af2d95dbd65cb606792ad8 (patch)
tree3b5879d84420fd384eb788c576658c3dd5a4ef71 /hash.h
parent54d0988406a70c7849a10d9ada1dbdff761adf8f (diff)
downloadtxr-9a2f9df335393284f6af2d95dbd65cb606792ad8.tar.gz
txr-9a2f9df335393284f6af2d95dbd65cb606792ad8.tar.bz2
txr-9a2f9df335393284f6af2d95dbd65cb606792ad8.zip
New function: hash-keys-of.
* hash.c (hash_keys_of): New function. (hash_init): Register hash-keys-of intrinsic * hash.h (hash_keys_of): Declared. * txr.1: Documented.
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 f9fcb75b..542b3e1a 100644
--- a/hash.h
+++ b/hash.h
@@ -89,6 +89,7 @@ val hash_proper_subset(val hash1, val hash2);
val hash_update(val hash, val fun);
val hash_update_1(val hash, val key, val fun, val init);
val hash_revget(val hash, val value, val test, val keyfun);
+val hash_keys_of(val hash, val value, val test, val keyfun);
val hash_invert(val hash, val joinfun, val unitfun, struct args *hashv_args);
void hash_process_weak(void);