From bfae779d2676d1902309aecb7d3e29ec39354d47 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 16 Jan 2019 06:45:24 -0800 Subject: 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. --- txr.1 | 22 ++++++++++++++++++---- 1 file 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 -- cgit v1.2.3