CFFI, the Common Foreign Function Interface, purports to be a portable foreign function interface for Common Lisp.
This specification defines a set of low-level primitives that must be
defined for each Lisp implementation supported by CFFI.
These operators are defined in the
CFFI package uses the
to implement an extensible foreign type system with support for
typedefs, structures, and unions, a declarative interface for
defining foreign function calls, and automatic conversion of
foreign function arguments to/from Lisp types.
Please note the following conventions that apply to everything in
CFFI-SYSthat are low-level versions of functions exported from the
CFFIpackage begin with a leading percent-sign (eg.