[Haskell-cafe] Help with c2hs, structs and typedefs?

Antoine Latter aslatter at gmail.com
Sun Mar 8 13:54:55 EDT 2009

On Sun, Mar 8, 2009 at 12:47 PM, Magnus Jonsson <jmagnusj at gmail.com> wrote:
> In C, if you don't typedef the struct, the name of the struct is
> "struct my_iovec_2", not "my_iovec_2". I don't know much about the
> haskell FFI, but maybe this is the problem?
> (by the way, why does "reply" default to replying to the sender, not
> the mailing list?)


It seems that adding:

typedef struct my_iovec_2 my_iovec_3;

gives me something I can work with.



More information about the Haskell-Cafe mailing list