summaryrefslogtreecommitdiffstats
path: root/tests/rust/body.toml
blob: ab96d7005af14ed674d37de4e3807b265f5852b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[export.body]
"MyFancyStruct" = """
#ifdef __cplusplus
    inline void foo();
#endif
"""

"MyFancyEnum" = """
#ifdef __cplusplus
    inline void wohoo();
#endif
"""

"MyCLikeEnum" = """
  BogusVariantForSerializationForExample,
"""

"MyUnion" = """
  int32_t extra_member;
"""

[export.pre_body]
"MyFancyStruct_Prepended" = """
#ifdef __cplusplus
    inline void prepended_wohoo();
#endif
"""

"MyFancyEnum_Prepended" = """
#ifdef __cplusplus
    inline void wohoo();
#endif
"""

"MyCLikeEnum_Prepended" = """
  BogusVariantForSerializationForExample,
"""

"MyUnion_Prepended" = """
    int32_t extra_member;
"""