cbindgen/tests/rust/nonnull_attribute.toml

10 lines
152 B
TOML

header = """
#ifdef __clang__
#define CBINDGEN_NONNULL _Nonnull
#else
#define CBINDGEN_NONNULL
#endif
"""
[ptr]
non_null_attribute = "CBINDGEN_NONNULL"