Simplifies the development of Haskell bindings to C libraries
'c2hs' is an interface generator that simplifies the development of Haskell bindings to C libraries. It processes existing C header files that determine data layout and function signatures on the C side in conjunction with Haskell modules that specify Haskell-side type signatures and marshaling details. Hooks embedded in the Haskell code signal access to C structures and functions; they are expanded by the interfacing tool in dependence on information from the corresponding C header file.
DocumentationUser tutorial available in HTML format from http://www.cse.unsw.edu.au/~chak/haskell/c2hs/docu/c2hs.html
released on 1 April 2016
|License||Verified by||Verified on||Notes|
|GPLv2orlater||Janet Casey||8 August 2005|
Leaders and contributors
|See the AUTHORS file in the distribution for a complete list||Contributor|
|Manuel M T Chakravarty||Maintainer|
Resources and communication
|Source requirement||Cabal 1.0.1 or later (1.0 does not work)|
|Required to use||ghc 6.0 or later|
This entry (in part or in whole) was last reviewed on 21 February 2017.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.