cbindgen 0.29.2

A tool for generating C bindings to Rust code.
Documentation
1
2
3
4
5
6
7
8
9
10
header = """
#define MY_ASSERT(...) do { } while (0)
#define MY_ATTRS __attribute((noinline))
"""

[enum]
derive_helper_methods = true
derive_const_casts = true
derive_mut_casts = true
cast_assert_name = "MY_ASSERT"