hackageDB :: [Package]

Built with Cabal

HSFFIG: Generate FFI import declarations from C include files

Haskell FFI Binding Modules Generator (HSFFIG) is a tool that parses C library include files (.h) and generates Haskell Foreign Functions Interface import declarations for all functions, #define'd constants (where possible), enumerations, and structures/unions (to access their members). It is assumed that the GNU C Compiler and Preprocessor are used. Auto-generated Haskell modules may be imported into an application to get access to the foreign library's functions and variables.

The package provides a small library that programs using auto-generated imports have to link to (specify HSFFIG as one of build-depends), and two executable programs:

Please note that hsffig and ffipkg will likely not work properly with C++ include files.

Versions1.1, 1.1.2
Dependenciesarray, base (>=4 && <5), Cabal (>=1.5), containers, directory, filepath, parsec (<3), process, unix
LicenseBSD3
Copyright2005 - 2009, Dimitry Golubovsky
AuthorDimitry Golubovsky
Maintainergolubovsky@gmail.com
Stabilitystable
CategoryFFI tools
Home pagehttp://www.haskell.org/haskellwiki/HSFFIG
Executablesffipkg, hsffig, testparser
Upload dateFri Oct 16 00:59:56 UTC 2009
Uploaded byDmitryGolubovsky
Built onghc-6.10, ghc-6.12
DistributionsArch: 1.1.2

Modules

Downloads