summaryrefslogtreecommitdiffstats
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
commitb45d03ac957bc0f80322f853fb508431387c78c9 (patch)
treebb6b8b705bf304dc330a8694de74984d92516e59
parenta8e29ba9ba5c7aca6792022f7ce91590d1298087 (diff)
downloadtxr-b45d03ac957bc0f80322f853fb508431387c78c9.tar.gz
txr-b45d03ac957bc0f80322f853fb508431387c78c9.tar.bz2
txr-b45d03ac957bc0f80322f853fb508431387c78c9.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.
-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