Map OCaml arrays onto C-like structs via a syntax extension, and generate functions to convert to-and-from native OCaml values.
10
stars
2
forks
source link
Fix cstruct overflow, correct sequencing in cenum, add docs #11
Closed
avsm closed 10 years ago
The readme improvements are especially useful! I'm always trying to remember exactly what is being generated.
Sent from my iPhone
On 12 Oct 2013, at 23:04, Anil Madhavapeddy notifications@github.com wrote:
You can merge this Pull Request by running
git pull https://github.com/avsm/ocaml-cstruct master
Or view, comment on, or merge it at:
https://github.com/mirage/ocaml-cstruct/pull/11 Commit Summary
cenum
definition.sizeof_<field>
binding for every get/set field (should be no externally observable change).sizeof_<field>
signature for every get/set field.File Changes
Patch Links: