Martin Norb�ck wrote: > I am doing some wrappers for c functions, and I need to access > defines, enums, and structs. [...]
Have a look at hsc2hs:
http://haskell.org/ghc/docs/latest/html/users_guide/hsc2hs.html
The hierachical libraries contain a lot of examples. But note that the generated Haskell code is *not* portable across platforms, so you have to ship your *.hsc files if you want that.
Cheers, S.
_______________________________________________ FFI mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/ffi
