summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-11-24 22:43:52 -0800
committerKaz Kylheku <kaz@kylheku.com>2011-11-24 22:43:52 -0800
commite1841e6982a68ec90fc7c80901a98a66f21318b3 (patch)
tree6b87c3b3c8702c0e8dbb10c7dc6b14f2a997fc21 /lib.h
parentabdf06ed559fbc2f775271027f5000202bac9ff3 (diff)
downloadtxr-e1841e6982a68ec90fc7c80901a98a66f21318b3.tar.gz
txr-e1841e6982a68ec90fc7c80901a98a66f21318b3.tar.bz2
txr-e1841e6982a68ec90fc7c80901a98a66f21318b3.zip
* lib.c (getplist_f): New function.
* lib.h (getplist_f): Declared. * match.c (v_collect, h_coll): Use getplist_f to distinguish the case that :vars is explicitly specified as (). In this case, no bindings escape from the collect. * tests/008/soundex.txr: This test case broke due to using :vars () and yet counting on the variable to exist. * RELNOTES: Updated.
Diffstat (limited to 'lib.h')
-rw-r--r--lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib.h b/lib.h
index 4ad5e7a0..e6677a51 100644
--- a/lib.h
+++ b/lib.h
@@ -315,6 +315,7 @@ val listp(val obj);
val proper_listp(val obj);
val length(val list);
val getplist(val list, val key);
+val getplist_f(val list, val key, val *found);
val proper_plist_to_alist(val list);
val improper_plist_to_alist(val list, val boolean_keys);
val num(cnum val);