.cargo/vendor/cbindgen/tests/expectations/expand_dep_v2.compat.c
raw| 1 | #include <stdarg.h> |
| 2 | #include <stdbool.h> |
| 3 | #include <stdint.h> |
| 4 | #include <stdlib.h> |
| 5 | |
| 6 | typedef struct { |
| 7 | uint32_t x; |
| 8 | double y; |
| 9 | } dep_struct; |
| 10 | |
| 11 | #ifdef __cplusplus |
| 12 | extern "C" { |
| 13 | #endif // __cplusplus |
| 14 | |
| 15 | uint32_t get_x(const dep_struct *dep_struct); |
| 16 | |
| 17 | #ifdef __cplusplus |
| 18 | } // extern "C" |
| 19 | #endif // __cplusplus |