OCAML FFI home page

Generate an FFI directly from C header files

This project is a foreign function interface generator for the Objective Caml programming language. It reads C header files and generates a mix of C code and ocaml external declarations. The generated interface is patterned after the foreign function interface that Joel Bartlett used in Scheme->C: C objects that can't fit in an equivalant ML type (for example, structs) are stored in ML string objects, and can thus be managed by the garbage collector.


Last modified: Sunday, August 19th.