
20 Apr
2010
20 Apr
'10
5:31 a.m.
On Tue, Apr 20, 2010 at 8:48 AM, Tom Hawkins
I have a bunch of global variables in C I would like to directly read and write from Haskell. Is this possible with FFI, or must I write a bunch of C wrapper functions for the interface, i.e. a 'get' and a 'set' for each variable?
I believe Maurício C. Antunes' bindings-DSL has support for automating reading from and writing to global variables. Look at the "Detailed usage guide" from the home page of: http://hackage.haskell.org/package/bindings-DSL regards, Bas