cbindgen/tests/rust/asserted_cast.toml

11 lines
216 B
TOML
Raw Normal View History

header = """
2019-03-03 06:07:22 +01:00
#define MY_ASSERT(...) do { } while (0)
#define MY_ATTRS __attribute((noinline))
2019-03-03 06:07:22 +01:00
"""
[enum]
derive_helper_methods = true
derive_const_casts = true
derive_mut_casts = true
cast_assert_name = "MY_ASSERT"