diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-07-13 20:30:16 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-07-13 20:30:16 -0700 |
commit | b45d03ac957bc0f80322f853fb508431387c78c9 (patch) | |
tree | bb6b8b705bf304dc330a8694de74984d92516e59 | |
parent | a8e29ba9ba5c7aca6792022f7ce91590d1298087 (diff) | |
download | txr-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.1 | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -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 |