diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-01-28 07:42:10 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-01-28 07:42:10 -0800 |
commit | cc413849fc0b92fee3c33ffd16378ca6ffa1070d (patch) | |
tree | 1daeb8be5180accdf97323595f2bbb3b72674f5d /stdlib | |
parent | d18bf6605613cc0eb8038d1e42f5faac37510a1a (diff) | |
download | txr-cc413849fc0b92fee3c33ffd16378ca6ffa1070d.tar.gz txr-cc413849fc0b92fee3c33ffd16378ca6ffa1070d.tar.bz2 txr-cc413849fc0b92fee3c33ffd16378ca6ffa1070d.zip |
New function: copy-cptr.
* eval.c (eval_init): copy-cptr intrinsic registered.
* lib.c (copy_cptr): New function.
(copy): Use copy_cptr for CPTR objects.
* lib.h (copy_cptr): Declared.
* tests/017/ffi-misc.tl: New test cases.
* txr.1: Documented.
* stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/doc-syms.tl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/doc-syms.tl b/stdlib/doc-syms.tl index dc8424a5..723ea9c2 100644 --- a/stdlib/doc-syms.tl +++ b/stdlib/doc-syms.tl @@ -400,6 +400,7 @@ ("copy-buf" "N-00BE75E1") ("copy-carray" "N-006593D0") ("copy-cons" "N-037EBB77") + ("copy-cptr" "N-018EBB92") ("copy-file" "N-019D6582") ("copy-files" "N-019D6582") ("copy-fun" "N-003E7671") |