summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stdlib/doc-syms.tl2
-rw-r--r--txr.110
2 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/doc-syms.tl b/stdlib/doc-syms.tl
index ed817076..829e418a 100644
--- a/stdlib/doc-syms.tl
+++ b/stdlib/doc-syms.tl
@@ -419,7 +419,7 @@
("cptr-int" "N-015139D6")
("cptr-null" "N-01CB17AB")
("cptr-obj" "N-013139D1")
- ("cptr-put" "N-00513A38")
+ ("cptr-out" "N-005139EC")
("cptr-size-hint" "N-024CD90F")
("cptr-type" "N-03B1F90C")
("cptr-zap" "N-00913A85")
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 ,