Cookbook/FFI
Interfacing with C-code[edit]
Magnus has written a nice example (link broken) on how to call a C function operating on a user defined type.
Magnus has written a nice example (link broken) on how to call a C function operating on a user defined type.