summaryrefslogtreecommitdiffstats
path: root/lisplib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-06-17 07:24:00 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-06-17 07:24:00 -0700
commit4f32b4b14f5986447dc3b732b101916412c91d22 (patch)
treeafaf9b0bb4f233e5839b9e8f5f3442bd56b7e6b0 /lisplib.c
parente7fe177abc6fd9414381b12d3c5ca47b21fb3806 (diff)
downloadtxr-4f32b4b14f5986447dc3b732b101916412c91d22.tar.gz
txr-4f32b4b14f5986447dc3b732b101916412c91d22.tar.bz2
txr-4f32b4b14f5986447dc3b732b101916412c91d22.zip
buffers: sub-buf becomes accessor.
* lisplib.c (ffi_set_entries): Register autoload for sub-buf symbol. * share/txr/stdlib/ffi.tl (sub-buf): Syntactic place defined via defset. * txr.1: Updated sub-buf documentation.
Diffstat (limited to 'lisplib.c')
-rw-r--r--lisplib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisplib.c b/lisplib.c
index d2d82b84..45d24eb9 100644
--- a/lisplib.c
+++ b/lisplib.c
@@ -620,7 +620,7 @@ static val ffi_set_entries(val dlt, val fun)
lit("deffi-sym"), lit("deffi-var"), lit("typedef"), lit("sizeof"),
lit("alignof"), lit("offsetof"), lit("arraysize"), lit("elemsize"),
lit("elemtype"), lit("ffi"), lit("carray-ref"), lit("carray-sub"),
- lit("znew"),
+ lit("sub-buf"), lit("znew"),
nil
};
set_dlt_entries(dlt, name, fun);