Le lundi, 20 octobre 2014 à 13:29, Trevor Smith a écrit :

> Jeremy,
>  
> The allocate/coerce idea sounds great, however that won't play nicely with my 
> cross-platform needs... (unless I am misunderstanding something).
If you are talking about the size of the struct, just write it with the #define 
constants and/or make a function that returns the size of the struct. With that 
number you can then follow Jeremy's proposal.  

Daniel


_______________________________________________
Ctypes mailing list
[email protected]
http://lists.ocaml.org/listinfo/ctypes

Reply via email to