| 1 |
#include <stdarg.h> |
| 2 |
#include <stdbool.h> |
| 3 |
#include <stdint.h> |
| 4 |
#include <stdlib.h> |
| 5 |
|
| 6 |
#ifdef __cplusplus |
| 7 |
namespace constants { |
| 8 |
namespace test { |
| 9 |
#endif // __cplusplus |
| 10 |
|
| 11 |
#define FOO 10 |
| 12 |
|
| 13 |
#define ZOM 3.14 |
| 14 |
|
| 15 |
typedef struct { |
| 16 |
int32_t x[FOO]; |
| 17 |
} Foo; |
| 18 |
|
| 19 |
#ifdef __cplusplus |
| 20 |
extern "C" { |
| 21 |
#endif // __cplusplus |
| 22 |
|
| 23 |
void root(Foo x); |
| 24 |
|
| 25 |
#ifdef __cplusplus |
| 26 |
} // extern "C" |
| 27 |
#endif // __cplusplus |
| 28 |
|
| 29 |
#ifdef __cplusplus |
| 30 |
} // namespace test |
| 31 |
} // namespace constants |
| 32 |
#endif // __cplusplus |