ocaml-ctypes
ocaml-ctypes copied to clipboard
Typed C representation
Annotate the internal C representation with types, so that the OCaml type checker ensures that C code is constructed in a meaningful way. This is an internal-only change which leaves the interface unchanged and should have no effects on generated code.
The following regression needs to be fixed before this can be merged:
- bindings involving view types (e.g.
funptr) should use the associated custom type printer rather than the printer for the underlying type.
Any updates?