The Binding Generator C->Haskell
: Release Notes
: Version 0.13.6 "Pressing Forward"
Previous: Version 0.14.5 "Travelling Lightly"
Next: Version 0.12.1 "Springtime"
7.2. Version 0.13.6 "Pressing Forward"
- Works with GHC 6.4 and Cabal packages
- Strings may contain 8-bit characters (e.g., umlauts).
- Identifier may optionally be put in single quotes. (This is useful if
they would otherwise collide with a C->Haskell keyword.)
- Some smaller bug fixes
- C chars are treated as integral types for marshalling purposes.
- If there is no explicit output file specified, the generated header file
is put in the same directory as the binding file; otherwise, it goes in the
directory where the output file is put. Moreover, the
--output-dir
option enables the specification of directory where all generated files are to
be put.
- Foreign import declarations include the name of the header file
generated by C->Haskell (ie, it needs neither be passed to the Haskell
compiler at the command line nor in an OPTIONS pragma).
- We allow structs and unions with no declarations.
- Headers including function bodies are now parsed correctly.
- Duncan Coutts identified a space leak in the parser whose removal
improved performance significantly.
The Binding Generator C->Haskell
: Release Notes
: Version 0.13.6 "Pressing Forward"
Previous: Version 0.14.5 "Travelling Lightly"
Next: Version 0.12.1 "Springtime"