The Haskell FFI Marshalling Library is a proposed standard library for foreign
function interoperability. The interface of the C2HS
marshalling library
is a slight extension of the Haskell FFI Marshalling Library, which is
documented in the following.
The library is partitioned into a language independent and a C specific
component. All features of the former are available from the module
Foreign
and all features of the later from CForeign
. Nevertheless,
the following module hierarchy is part of the interface definition:
C2HS
.