diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-01-16 06:45:24 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-01-16 06:45:24 -0800 |
commit | bfae779d2676d1902309aecb7d3e29ec39354d47 (patch) | |
tree | 62290bc9714107ab181824cbfeb69edcfbd6459c /txr.1 | |
parent | 2143d29cf5ae78fc3ab31fb9079cafa89ab42d7f (diff) | |
download | txr-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.1 | 22 |
1 files changed, 18 insertions, 4 deletions
@@ -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 |