25 Jan
2004
25 Jan
'04
11:30 a.m.
Hello FFI experts, Say I have a function somewhere in c land with the following declaration: void doStuff( int &a, int &b); What would the appropriate Haskell wrapper for this function look like? I'm looking to construct a haskell function of the type: doStuff :: Int -> Int -> IO( (Int,Int) ) There weren't any relevant results when searching `"pass by reference" haskell ffi` in google. Thanks in advance, David J. Sankel