> On 27 Dec. 2017, at 16:55, john skaller <[email protected]> wrote: > > >> On 27 Dec. 2017, at 16:33, john skaller <[email protected]> wrote: > > Oops let me try that again. > > val messy = abstract > name:“messy” > size:(sizeof null) > aligment:(alignment null))
Though Real World Ocaml just does this .. type messy_ocaml let messy_c = messy_ocaml typ where I assume it works because Ocaml boxes the type. Which means the underlying C pointer had better not have the low bit set (not that it ever will). — john skaller [email protected] http://felix-lang.org _______________________________________________ Ctypes mailing list [email protected] http://lists.ocaml.org/listinfo/ctypes
