Next: , Previous: , Up: Top   [Contents][Index]


1 Introduction

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-SYS package.

The CFFI package uses the CFFI-SYS interface 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-SYS: