| 1 |
#include <stdarg.h> |
| 2 |
#include <stdbool.h> |
| 3 |
#include <stdint.h> |
| 4 |
#include <stdlib.h> |
| 5 |
|
| 6 |
typedef struct PREFIXBar { |
| 7 |
int32_t a; |
| 8 |
} PREFIXBar; |
| 9 |
|
| 10 |
typedef struct PREFIXFoo { |
| 11 |
int32_t a; |
| 12 |
uint32_t b; |
| 13 |
struct PREFIXBar bar; |
| 14 |
} PREFIXFoo; |
| 15 |
|
| 16 |
#define PREFIXVAL (PREFIXFoo){ .a = 42, .b = 1337, .bar = (PREFIXBar){ .a = 323 } } |
| 17 |
|
| 18 |
#ifdef __cplusplus |
| 19 |
extern "C" { |
| 20 |
#endif // __cplusplus |
| 21 |
|
| 22 |
void root(struct PREFIXFoo x); |
| 23 |
|
| 24 |
#ifdef __cplusplus |
| 25 |
} // extern "C" |
| 26 |
#endif // __cplusplus |