summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-08-21 17:32:13 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-08-21 17:32:13 -0700
commit0dd1d1a586fcfcf11e0b1c926c8be9c4c8d525be (patch)
tree1e674edaf8401bc52745c930edfe3c114e1073a7 /lib.h
parentbc06c87a10f9d9ddc4209ec0a49ab48bf37dc706 (diff)
downloadtxr-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib.h b/lib.h
index 34b10123..a3e0fe82 100644
--- a/lib.h
+++ b/lib.h
@@ -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);