summaryrefslogtreecommitdiffstats
path: root/match.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-10-25 23:04:48 -0400
committerKaz Kylheku <kaz@kylheku.com>2011-10-25 23:04:48 -0400
commit2987f69f690d8433ad3aaa9e9f41949455ada2cb (patch)
treeb08a9038924133265563690bab95ac8b6d79fc17 /match.h
parent4e61cfe45d3fa26f73870c0242798c9d42eb5baf (diff)
downloadtxr-2987f69f690d8433ad3aaa9e9f41949455ada2cb.tar.gz
txr-2987f69f690d8433ad3aaa9e9f41949455ada2cb.tar.bz2
txr-2987f69f690d8433ad3aaa9e9f41949455ada2cb.zip
* filter.c (function_filter): Function removed.
(get_filter): Treat (:fun ...) syntax as a single function call with extra arguments, currying it up as curried function that invokes match_funcall once. * match.c (match_funcall): Extended to take a list of the additional arguments from get_filter. Adds these to the function call form generated for the v_func call. * match.h (match_funcall): Declaration updated. * txr.1: Function Filter additional arguments documented.
Diffstat (limited to 'match.h')
-rw-r--r--match.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/match.h b/match.h
index 6a3002b4..00eb1f1d 100644
--- a/match.h
+++ b/match.h
@@ -25,6 +25,6 @@
*/
void match_init(void);
-val match_funcall(val name, val arg);
+val match_funcall(val name, val arg, val other_args);
int extract(val spec, val filenames, val bindings);
extern val choose_s;