blob: 1d416f155b8ca41b2d8b28ecc0ee42deeca12d4e [file] [log] [blame]
header = """
#define CBINDGEN_PACKED __attribute__ ((packed))
#define CBINDGEN_ALIGNED(n) __attribute__ ((aligned(n)))
"""
[layout]
# We do not define aligned_n.
packed = "CBINDGEN_PACKED"
[export]
include = [
"PackedStruct",
"PackedUnion",
"OpaqueAlign1Union",
"OpaqueAlign4Union",
"OpaqueAlign16Union",
"OpaqueAlign1Struct",
"OpaqueAlign2Struct",
"OpaqueAlign4Struct",
"OpaqueAlign8Struct",
"OpaqueAlign32Struct",
]