.cargo/vendor/cbindgen/tests/expectations/static.both.compat.c
raw| 1 | #include <stdarg.h> |
| 2 | #include <stdbool.h> |
| 3 | #include <stdint.h> |
| 4 | #include <stdlib.h> |
| 5 | |
| 6 | typedef struct Bar Bar; |
| 7 | |
| 8 | typedef struct Foo { |
| 9 | |
| 10 | } Foo; |
| 11 | |
| 12 | #ifdef __cplusplus |
| 13 | extern "C" { |
| 14 | #endif // __cplusplus |
| 15 | |
| 16 | extern const int32_t NUMBER; |
| 17 | |
| 18 | extern struct Foo FOO; |
| 19 | |
| 20 | extern const struct Bar BAR; |
| 21 | |
| 22 | void root(void); |
| 23 | |
| 24 | #ifdef __cplusplus |
| 25 | } // extern "C" |
| 26 | #endif // __cplusplus |