summaryrefslogtreecommitdiffstats
path: root/tests/rust/nonnull_attribute.toml
blob: 8c051d7df5b1013b5b6120e54156e208401bbb25 (plain)
1
2
3
4
5
6
7
8
9
10
header = """
#ifdef __clang__
#define CBINDGEN_NONNULL _Nonnull
#else
#define CBINDGEN_NONNULL
#endif
"""

[ptr]
non_null_attribute = "CBINDGEN_NONNULL"