[ocaml-ctypes] Stack allocated structs ?

Daniel Bünzli daniel.buenzli at erratique.ch
Thu Dec 12 18:20:19 GMT 2013


Hello, 

Is returning stack allocated structs unsupported ? When I try to do this I get this exception:

Fatal error: exception Static.Unsupported("libffi does not support passing arrays")

(the struct has a single field with an array 16 uint8_t))

Best,

Daniel 




More information about the Ctypes mailing list