2020-01-16 15:56:52 +01:00
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
typedef struct Foo_Bar {
|
|
|
|
const int32_t *something;
|
|
|
|
} Foo_Bar;
|
|
|
|
|
|
|
|
typedef union Bar {
|
|
|
|
int32_t something;
|
2020-11-01 13:59:41 +01:00
|
|
|
struct Foo_Bar subexpressions;
|
2020-01-16 15:56:52 +01:00
|
|
|
} Bar;
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif // __cplusplus
|
|
|
|
|
2020-11-01 13:59:41 +01:00
|
|
|
void root(union Bar b);
|
2020-01-16 15:56:52 +01:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} // extern "C"
|
|
|
|
#endif // __cplusplus
|