summaryrefslogtreecommitdiffstats
path: root/tests/rust/layout.toml
blob: a1316dcc1977644661103bc8b76e6d65df988313 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
header = """
#define CBINDGEN_PACKED     __attribute__ ((packed))
#define CBINDGEN_ALIGNED(n) __attribute__ ((aligned(n)))
"""

[layout]
packed = "CBINDGEN_PACKED"
aligned_n = "CBINDGEN_ALIGNED"

[export]
include = [
	"Align1Struct",
	"Align2Struct",
	"Align4Struct",
	"Align8Struct",
	"Align32Struct",
	"PackedStruct",
	"Align1Union",
	"Align4Union",
	"Align16Union",
	"PackedUnion",
	"UnsupportedPacked4Struct",
	"UnsupportedPacked4Union",
	"UnsupportedAlign4Enum",
	"RustAlign4Struct",
	"RustPackedStruct",
	"RustAlign4Union",
	"RustPackedUnion",
]