How to save a haskell data structure in C?

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Fri Jul 3 05:47:37 EDT 2009


> In C code, I want to save a complex data strcuture defined in  
> haskell and pass it back to a haskell function at certain time.

Look up "StablePtr" in Haskell's FFI spec.

Regards,
     Malcolm


More information about the Glasgow-haskell-users mailing list