The Haskell FFI Marshalling Library is a proposed standard library for foreign
function interoperability. The interface of the C2HS
marshalling library
as of version 0.8.1 of the tool 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
.