[ocaml-ctypes] Stack allocated structs ?
Daniel Bünzli
daniel.buenzli at erratique.ch
Thu Dec 12 19:30:20 GMT 2013
Le jeudi, 12 décembre 2013 à 19:44, Jeremy Yallop a écrit :
> It might be possible to add the missing support before that, though,
> if it's safe to assume that a struct with a member of type T[n] is
> passed in the same way as a struct with n members of type T.
Thanks for the tip, didn't think far enough (tried to use the array directly but that didn't work either). Note that it's a very marginal case in the api in I'm binding to.
Best,
Daniel
More information about the Ctypes
mailing list