Important changes (especially those affecting the semantics of the tool) are documented in the following.
foreign import
s have been removed until
the convention of the new FFI is implemented (they are currently silently
omitted)sizeof
hooks; sizeof of type names is now also supported in
constant expressionsenum
hooks; courtesy of Armin Sanderimport
hookspointer
hooks, which were derived from code for a similar
feature by Axel Simon; this includes proper treatment of parametrised pointersderiving
option for enum
hooks, which was
contributed by Axel Simon
StablePtr
interfaceFunPtr
and associated functions from C2HS
C2HSDeprecated
__builtin_va_list
C2HSDeprecated
IntConv
instances for Int8
, Word8
, and Char
underscoreToCase
. WARNING:
This breaks source compatibility with previous versions.
Ignores any occurrence of #pragma
.
Bug fixes and support for long long
.
This is mainly a bug fix release. In particular, the space behaviour of C->Haskell has been significantly improved.
IMPORTANT NOTE: From this release on, library names in lib
tags in
context
hooks should not contain a suffix (i.e., omit .so
etc).