2019-01-18 22:57:36 +01:00
|
|
|
[export.body]
|
|
|
|
"MyFancyStruct" = """
|
|
|
|
#ifdef __cplusplus
|
2020-11-18 16:50:59 +03:00
|
|
|
inline void foo();
|
2019-01-18 22:57:36 +01:00
|
|
|
#endif
|
|
|
|
"""
|
|
|
|
|
|
|
|
"MyFancyEnum" = """
|
|
|
|
#ifdef __cplusplus
|
2020-11-18 16:50:59 +03:00
|
|
|
inline void wohoo();
|
2019-01-18 22:57:36 +01:00
|
|
|
#endif
|
|
|
|
"""
|
|
|
|
|
|
|
|
"MyCLikeEnum" = """
|
|
|
|
BogusVariantForSerializationForExample,
|
|
|
|
"""
|
|
|
|
|
|
|
|
"MyUnion" = """
|
2020-11-18 16:50:59 +03:00
|
|
|
int32_t extra_member;
|
2019-01-18 22:57:36 +01:00
|
|
|
"""
|
2020-01-13 08:26:21 -05:00
|
|
|
|
|
|
|
[export.pre_body]
|
|
|
|
"MyFancyStruct_Prepended" = """
|
|
|
|
#ifdef __cplusplus
|
2020-11-18 16:50:59 +03:00
|
|
|
inline void prepended_wohoo();
|
2020-01-13 08:26:21 -05:00
|
|
|
#endif
|
|
|
|
"""
|
|
|
|
|
|
|
|
"MyFancyEnum_Prepended" = """
|
2020-11-18 16:50:59 +03:00
|
|
|
#ifdef __cplusplus
|
2020-01-13 08:26:21 -05:00
|
|
|
inline void wohoo();
|
2020-11-18 16:50:59 +03:00
|
|
|
#endif
|
2020-01-13 08:26:21 -05:00
|
|
|
"""
|
|
|
|
|
|
|
|
"MyCLikeEnum_Prepended" = """
|
|
|
|
BogusVariantForSerializationForExample,
|
|
|
|
"""
|
|
|
|
|
|
|
|
"MyUnion_Prepended" = """
|
2020-11-18 16:50:59 +03:00
|
|
|
int32_t extra_member;
|
2020-01-13 08:26:21 -05:00
|
|
|
"""
|