summaryrefslogtreecommitdiffstats
path: root/lisplib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-05-20 16:58:34 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-05-20 16:58:34 -0700
commita7517ded29c1c3bf8a50b2ce690bcfac575db350 (patch)
tree5223e5bde27713fa354f4a07f69c610b8de1e224 /lisplib.c
parent765548d93ca58734805e2932565398fe31d5a517 (diff)
downloadtxr-a7517ded29c1c3bf8a50b2ce690bcfac575db350.tar.gz
txr-a7517ded29c1c3bf8a50b2ce690bcfac575db350.tar.bz2
txr-a7517ded29c1c3bf8a50b2ce690bcfac575db350.zip
ffi: new macro, deffi-var.
* lisplib.c (ffi_set_entries): Autload entry for "deffi-var". * share/txr/stdlib/ffi.tl (deffi-var): New macro. * txr.1: Documented.
Diffstat (limited to 'lisplib.c')
-rw-r--r--lisplib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisplib.c b/lisplib.c
index acc7b6b6..df5e9a93 100644
--- a/lisplib.c
+++ b/lisplib.c
@@ -524,7 +524,8 @@ static val ffi_set_entries(val dlt, val fun)
{
val name[] = {
lit("with-dyn-lib"), lit("deffi"), lit("deffi-type"), lit("deffi-cb"),
- lit("typedef"), lit("sizeof"), lit("ffi"), lit("carray-ref"),
+ lit("deffi-var"), lit("typedef"), lit("sizeof"), lit("ffi"),
+ lit("carray-ref"),
nil
};
set_dlt_entries(dlt, name, fun);