Debian Codegraph @

.cargo/vendor/cbindgen/tests/rust/body.toml

raw
1 [export.body]
2 "MyFancyStruct" = """
3 #ifdef __cplusplus
4 inline void foo();
5 #endif
6 """
7
8 "MyFancyEnum" = """
9 #ifdef __cplusplus
10 inline void wohoo();
11 #endif
12 """
13
14 "MyCLikeEnum" = """
15 BogusVariantForSerializationForExample,
16 """
17
18 "MyUnion" = """
19 int32_t extra_member;
20 """
21
22 [export.pre_body]
23 "MyFancyStruct_Prepended" = """
24 #ifdef __cplusplus
25 inline void prepended_wohoo();
26 #endif
27 """
28
29 "MyFancyEnum_Prepended" = """
30 #ifdef __cplusplus
31 inline void wohoo();
32 #endif
33 """
34
35 "MyCLikeEnum_Prepended" = """
36 BogusVariantForSerializationForExample,
37 """
38
39 "MyUnion_Prepended" = """
40 int32_t extra_member;
41 """