summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-07-02 06:35:41 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-07-02 06:35:41 -0700
commit2fa5d2ecd422011cd83c36e78b3375216f073ae1 (patch)
tree3202271b326616957d9f4abb0c0c2d004bebc85c /txr.1
parentb5d6ead3ee2bf101fd19c0fb5ddc6ccd253e2d57 (diff)
downloadtxr-2fa5d2ecd422011cd83c36e78b3375216f073ae1.tar.gz
txr-2fa5d2ecd422011cd83c36e78b3375216f073ae1.tar.bz2
txr-2fa5d2ecd422011cd83c36e78b3375216f073ae1.zip
doc: cptr-put does not exist.
* txr.1: There is no cptr-put function; it is called cptr-out. The last paragraph refers to cptr-out and it is referenced elsewhere. It has to be cptr-out because it implements the "out semantics" in FFI conversion which pairs with "put"; cptr-put would be a different function, which is not currently implemented. * stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.110
1 files changed, 5 insertions, 5 deletions
diff --git a/txr.1 b/txr.1
index 7ea5071a..eace143a 100644
--- a/txr.1
+++ b/txr.1
@@ -59274,11 +59274,11 @@ The
argument may not be a variable length type, such as an array of
unspecified size.
-Note: the
+Note: the functions
.code cptr-get
and
.code cptr-out
-is useful in simplifying the interaction with "semi-opaque" foreign objects:
+are useful in simplifying the interaction with "semi-opaque" foreign objects:
objects which serve as a API handles that are treated as opaque pointers in API
argument calls, but which expose some internal members that the application
must access directly. The
@@ -59289,13 +59289,13 @@ necessary. Under this technique, the description of the foreign object need not
be complete. Structure members which occur after the last member that the
application is interested in need not be described in the FFI type.
-.coNP Function @ cptr-put
+.coNP Function @ cptr-out
.synb
-.mets (cptr-put < cptr < obj <> [ type ])
+.mets (cptr-out < cptr < obj <> [ type ])
.syne
.desc
The
-.code cptr-put
+.code cptr-out
function converts a Lisp value into a C representation,
which is stored at the memory location denoted by
.metn cptr ,