
23 Feb
2011
23 Feb
'11
12:47 a.m.
Hi all, I'm working on an FFI and as usual there are lots of defines in the header files. What's the best way to make these available to the haskell code ? Ideally it could be done automagically, or at least pseudo-magically so that keeping up with changes to the .h wouldn't be too painful. I'm talking about simple constant defines, nothing tricky like structures or similar. Thanks, Brian