
11 Dec
2008
11 Dec
'08
10:31 a.m.
Sorry, I'm not talking about how C implements passing structures to functions. The Haskell FFI can only bind functions that pass structures by pointer, not by value. So if you've got a C function that passes them by value then you need to write a wrapper function in C and bind to that.
This should definitely be in the documentation somewhere. I delayed some work for a few weeks with that :) Thanks a lot for making this clear. MaurĂcio