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", | |
] |