4 Working Beyond the Lisp Environment

4.3 The C-to-FFI facility

Translating from C's syntax to the syntax of the Foreign Function Interface can be a tedious process, when done by hand. However, all the necessary information for the translation is present in the C source and header files, making it possible to automate the process.

This is the purpose of the C-to-FFI translation facility. By calling the functiontranslate-c-file, you can automatically output the Lisp code that is required.

The constructs that make up the C-to-FFI translation facility are extensions to Common Lisp.

4.3.1 - Reference pages

The Advanced User's Guide - 9 SEP 1996

Generated with Harlequin WebMaker