| 1 |
#include <stdarg.h> |
| 2 |
#include <stdbool.h> |
| 3 |
#include <stdint.h> |
| 4 |
#include <stdlib.h> |
| 5 |
|
| 6 |
typedef struct Opaque Opaque; |
| 7 |
|
| 8 |
typedef struct Option_____Opaque Option_____Opaque; |
| 9 |
|
| 10 |
typedef struct Foo { |
| 11 |
const struct Opaque *x; |
| 12 |
struct Opaque *y; |
| 13 |
void (*z)(void); |
| 14 |
void (**zz)(void); |
| 15 |
} Foo; |
| 16 |
|
| 17 |
typedef union Bar { |
| 18 |
const struct Opaque *x; |
| 19 |
struct Opaque *y; |
| 20 |
void (*z)(void); |
| 21 |
void (**zz)(void); |
| 22 |
} Bar; |
| 23 |
|
| 24 |
#ifdef __cplusplus |
| 25 |
extern "C" { |
| 26 |
#endif // __cplusplus |
| 27 |
|
| 28 |
void root(const struct Opaque *a, |
| 29 |
struct Opaque *b, |
| 30 |
struct Foo c, |
| 31 |
union Bar d, |
| 32 |
struct Option_____Opaque *e, |
| 33 |
void (*f)(const struct Opaque*)); |
| 34 |
|
| 35 |
#ifdef __cplusplus |
| 36 |
} // extern "C" |
| 37 |
#endif // __cplusplus |