[ocaml-ctypes] Converting between primitive and ocaml types

tekk tekk at parlementum.net
Sat Jan 10 22:22:38 GMT 2015


I'm sure that there's something in the documentation that I'm missing,
but I can't seem to find it. How do you convert between primitive types
(uint8_t, uint32_t, etc.) and native ocaml types like plain int? I
figured that views would be defined for this but I get type errors for
trying to use these types as ints.


More information about the Ctypes mailing list