summaryrefslogtreecommitdiffstats
path: root/ffi.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-08-25 06:49:53 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-08-25 06:49:53 -0700
commit98ec48bea40e4e80d25b26c99fbe44fc3e98459f (patch)
tree1a1761e44db628144c7cab6210a175952ebda74e /ffi.h
parenta37665e615c504415d5425f71ce5af7b7175b3f2 (diff)
downloadtxr-98ec48bea40e4e80d25b26c99fbe44fc3e98459f.tar.gz
txr-98ec48bea40e4e80d25b26c99fbe44fc3e98459f.tar.bz2
txr-98ec48bea40e4e80d25b26c99fbe44fc3e98459f.zip
carray: allow displacement in carray-pun.
* ffi.c (carray_pun): Takes two new arguments to specify displacement and size. (ffi_init): Registration of carray-pun adjusted. * ffi.h (carray_pun): Declaration updated. * txr.1: Documented.
Diffstat (limited to 'ffi.h')
-rw-r--r--ffi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffi.h b/ffi.h
index fbc9faad..4029f450 100644
--- a/ffi.h
+++ b/ffi.h
@@ -122,7 +122,7 @@ val carray_get(val carray);
val carray_getz(val carray);
val carray_put(val array, val seq);
val carray_putz(val array, val seq);
-val carray_pun(val carray, val type);
+val carray_pun(val carray, val type, val offset_in, val lim_in);
val carray_uint(val num, val type);
val carray_int(val num, val type);
val uint_carray(val carray);