Next: Glossary, Previous: Limitations, Up: Top
CFFI does some platform tests on loading. The details vary between Lisps; in fact, the purpose is to unify the list of available platform features for use elsewhere in the CFFI code. These features are also part of the public interface; see define-foreign-library.
The exact meanings of the features follow. Though you will usually
refer to these symbols as keywords, CFFI internally views them in
the package cffi-features
.
flat-namespace
:library
option to defcfun
, defcvar
, etc...
darwin
no-foreign-funcall
foreign-funcall
is not available. On such
platforms, the only way to call a foreign function is through
defcfun
. See foreign-funcall, and defcfun.
no-long-long
long long
type is not available as a foreign
type.
no-stdcall
stdcall
calling convention. Note
that it only makes sense to support stdcall
on (32-bit) x86
platforms.
ppc32
unix
windows
x86