File: enum_self_flags.toml

package info (click to toggle)
rust-cbindgen 0.29.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,248 kB
  • sloc: ansic: 15; makefile: 11
file content (23 lines) | stat: -rw-r--r-- 350 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
header = """
#if 0
''' '
#endif

// FIXME: Mis-generated in C mode with enum.prefix_with_name = false, and in
// C++ mode with it set to true...
#if defined(__cplusplus) && !defined(CBINDGEN_CPP_COMPAT)
"""

trailer = """
#endif
#if 0
' '''
#endif
"""

[enum]
enum_class = true
# prefix_with_name = true

[struct]
associated_constants_in_body = true