diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-08-21 17:32:13 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-08-21 17:32:13 -0700 |
commit | 0dd1d1a586fcfcf11e0b1c926c8be9c4c8d525be (patch) | |
tree | 1e674edaf8401bc52745c930edfe3c114e1073a7 /lib.h | |
parent | bc06c87a10f9d9ddc4209ec0a49ab48bf37dc706 (diff) | |
download | txr-0dd1d1a586fcfcf11e0b1c926c8be9c4c8d525be.tar.gz txr-0dd1d1a586fcfcf11e0b1c926c8be9c4c8d525be.tar.bz2 txr-0dd1d1a586fcfcf11e0b1c926c8be9c4c8d525be.zip |
New function: cptr-buf.
* eval.c (eval_init): Register cptr-buf intrinsic.
* lib.c (cptr_buf): New function.
* lib.h (cptr_buf): Declared.
* txr.1: Documented.
Diffstat (limited to 'lib.h')
-rw-r--r-- | lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1030,6 +1030,7 @@ val cptr_type(val cptr); val cptr_size_hint(val cptr, val size); val cptr_int(val n, val type_sym); val cptr_obj(val obj, val type_sym); +val cptr_buf(val buf, val type_sym); val cptr_zap(val cptr); val cptr_free(val cptr); val cptr_cast(val to_type, val cptr); |