Import Upstream version 20180207
[hcoop/debian/mlton.git] / mlnlffigen / sizes.sml
CommitLineData
7f918cf1
CE
1structure Sizes =
2 struct
3 type t =
4 {char: {bits: int, align: int},
5 short: {bits: int, align: int},
6 int: {bits: int, align: int},
7 long: {bits: int, align: int},
8 longlong: {bits: int, align: int},
9 float: {bits: int, align: int},
10 double: {bits: int, align: int},
11 longdouble: {bits: int, align: int},
12 pointer: {bits: int, align: int},
13 min_struct: {bits: int, align: int},
14 min_union: {bits: int, align: int},
15 onlyPackBitFields: bool,
16 ignoreUnnamedBitFieldAlignment: bool}
17 end