Source

ocaml-cstruct-codegen / lib / cstruct_codegen.ml

Diff from to

lib/cstruct_codegen.ml

                    |  getter-setter
                    |  |        ocaml type
                    |  |        |            *)
-value int8   = fld 1  "int8"   "int"
-  and uint8  = fld 1  "uint8"  "int"
-  and int16  = fld 2  "int16"  "int"
-  and uint16 = fld 2  "uint16" "int"
-  and int64  = fld 8  "int64"  "int64"
+value int8_t   = fld 1  "int8"   "int"
+  and uint8_t  = fld 1  "uint8"  "int"
+  and int16_t  = fld 2  "int16"  "int"
+  and uint16_t = fld 2  "uint16" "int"
+  and int64_t  = fld 8  "int64"  "int64"
 ;