diff options
-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 |