def-foreign-var
—
Defines a symbol macro to access a variable in foreign code
(def-foreign-var
name
type
module)
|
A string or list specificying the symbol macro's name. If it is a string, that names the foreign variable. A Lisp name is created by translating #\_ to #\- and by converting to upper-case in case-insensitive Lisp implementations. If it is a list, the first item is a string specifying the foreign variable name and the second it is a symbol stating the Lisp name. |
|
A foreign type of the foreign variable. |
module |
A string specifying the module (or library) the foreign variable resides in. (Required by Lispworks) |
Defines a symbol macro which can be used to access (get and set) the value of a variable in foreign code.