c2hs is a generator tool for Haskell bindings to C libraries.
C->Haskell (c2hs
) is an interfacing tool that assists in the development of Haskell FFI bindings to C libraries. It gathers interface information like data type definitions and function signatures from C header files and generates Haskell code with foreign imports.
There are some distinctions between c2hs
and hsc2hs
.