summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-01-16 06:45:24 -0800
committerKaz Kylheku <kaz@kylheku.com>2019-01-16 06:45:24 -0800
commitbfae779d2676d1902309aecb7d3e29ec39354d47 (patch)
tree62290bc9714107ab181824cbfeb69edcfbd6459c /txr.1
parent2143d29cf5ae78fc3ab31fb9079cafa89ab42d7f (diff)
downloadtxr-bfae779d2676d1902309aecb7d3e29ec39354d47.tar.gz
txr-bfae779d2676d1902309aecb7d3e29ec39354d47.tar.bz2
txr-bfae779d2676d1902309aecb7d3e29ec39354d47.zip
doc: with-dyn-lib mention other deffi-* macros.
* txr.1: with-dyn-lib relates not only to deffi but also deffi-var and deffi-sym.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.122
1 files changed, 18 insertions, 4 deletions
diff --git a/txr.1 b/txr.1
index 62d48a63..f5ea030b 100644
--- a/txr.1
+++ b/txr.1
@@ -60691,8 +60691,13 @@ using the Foreign Function Type API described in the previous section.
The
.code with-dyn-lib
macro works in conjunction with the
-.code deffi
-macro. When a
+.codn deffi ,
+.code deffi-sym
+and
+.code deffi-var
+macros.
+
+When a
.code deffi
form appears as one of the
.metn body-form -s
@@ -60703,7 +60708,13 @@ macro, that
form is permitted to use the simplified forms of the
.meta fun-expr
argument, to refer to library functions succinctly, without having
-to specify the library.
+to specify the library. The same remark applies to
+.code deffi-sym
+and
+.codn deffi-var ,
+regarding their
+.meta var-expr
+parameter.
A form invoking the
.code with-dyn-lib
@@ -60712,7 +60723,10 @@ by a symbol generated by
.code gensym
whose initializing expression binds it to a dynamic library handle.
The macro then creates an environment in which the enclosed
-.code deffi
+.codn deffi ,
+.code deffi-var
+and
+.code deffi-sym
forms can implicitly refer to that library via the global variable.
The