From 4f32b4b14f5986447dc3b732b101916412c91d22 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 17 Jun 2019 07:24:00 -0700 Subject: 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. --- lisplib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisplib.c') 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); -- cgit v1.2.3