.cargo/vendor/cbindgen/tests/expectations/assoc_constant.both.compat.c
raw| 1 | #include <stdarg.h> |
| 2 | #include <stdbool.h> |
| 3 | #include <stdint.h> |
| 4 | #include <stdlib.h> |
| 5 | |
| 6 | typedef struct Foo { |
| 7 | |
| 8 | } Foo; |
| 9 | #define Foo_GA 10 |
| 10 | #define Foo_ZO 3.14 |
| 11 | |
| 12 | #ifdef __cplusplus |
| 13 | extern "C" { |
| 14 | #endif // __cplusplus |
| 15 | |
| 16 | void root(struct Foo x); |
| 17 | |
| 18 | #ifdef __cplusplus |
| 19 | } // extern "C" |
| 20 | #endif // __cplusplus |