I have to load several functions that return structures from the library itself.
attach_function 'fn_name', [], # ... What do I put here?
RubyFFI's Wiki pages seem to be outdated, so I'm a little lost here.
How do I create a FFI::Struct
, and how do I specify it as the return type of a native function?