Possible to call Haskell function from C and return a struct by value?