summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-07-13 20:30:16 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-07-13 20:30:16 -0700
commitcc217d26a0142b2f4a5ea9c76d74da8e18771e20 (patch)
treebb6b8b705bf304dc330a8694de74984d92516e59 /txr.1
parent64dee71da528a42627ac46eb8a8420c807aff1bc (diff)
downloadtxr-cc217d26a0142b2f4a5ea9c76d74da8e18771e20.tar.gz
txr-cc217d26a0142b2f4a5ea9c76d74da8e18771e20.tar.bz2
txr-cc217d26a0142b2f4a5ea9c76d74da8e18771e20.zip
doc: fix some mistakes in ffi-get and ffi-out.
* txr.1: Fix repeated "this this", and an an incorrect insinuation that the ffi-get has an obj argument. Rather, it returns an object.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.116
1 files changed, 7 insertions, 9 deletions
diff --git a/txr.1 b/txr.1
index 4bad3e2a..546b1264 100644
--- a/txr.1
+++ b/txr.1
@@ -70845,8 +70845,7 @@ is stored. The default value is zero.
These functions perform the "put semantics" encoding action similar to
what happens to the arguments of an outgoing foreign function call.
-
-Caution: incorrect use of this this function, or its use in isolation
+Caution: incorrect use of this function, or its use in isolation
without a matching
.code ffi-in
call, can cause memory leaks, because, depending on
@@ -70866,15 +70865,14 @@ to the treatment applied to the arguments of a callback prior to
returning to foreign code.
It is assumed that
+.code obj
+is an object that was returned by an earlier call to
+.codn ffi-get ,
+and that the
.meta dst-buf
-is a buffer that was earlier used in a call to
-.code ffi-get
-and that
-.meta type
and
-.meta obj
-are the same values that were passed as the
-corresponding arguments of that function.
+.meta type
+arguments are the same objects that were used in that call.
The
.meta copy-p