The Common Foreign Function Interface
Common Lisp C Other
Pull request Compare This branch is 105 commits behind cffi:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
examples
grovel
libffi
scripts
src
tests
uffi-compat
.gitignore
.travis.yml
COPYRIGHT
HEADER
Makefile
README.md
TODO
cffi-examples.asd
cffi-grovel.asd
cffi-libffi.asd
cffi-tests.asd
cffi-uffi-compat.asd
cffi.asd

README.md

Build Status

CFFI, the Common Foreign Function Interface, purports to be a portable foreign function interface for Common Lisp. The CFFI library is composed of a Lisp-implementation-specific backend in the CFFI-SYS package, and a portable frontend in the CFFI package.

The CFFI-SYS backend package defines a low-level interface to the native FFI support in the Lisp implementation. It offers operators for allocating and dereferencing foreign memory, calling foreign functions, and loading shared libraries. The CFFI frontend provides a declarative interface for defining foreign functions, structures, typedefs, enumerated types, etc. It is implemented in portable ANSI CL making use of the low-level operators exported by CFFI-SYS.

Please consult the manual for further details, including installation instructions.