Package: cffi
Macro define-foreign-library
Lambda Listdefine-foreign-library (name-and-options &body pairs) SyntaxArgumentsReturn ValueA Symbol Details Creates a new library designator called name. The load-clauses describe how to load that designator when passed to load-foreign-library or use-foreign-library. When trying to load the library name, the relevant function searches the load-clauses in order for the first one where feature evaluates to true. That happens for any of the following situations:
Functions associated to a library defined by define-foreign-library, e.g. through defcfun's :library option, will inherit the library's options. The precedence is as follows:
Examples | See also |