.cargo/vendor/cbindgen/tests/expectations/nonzero.compat.c
raw| 1 | #if 0 |
| 2 | ''' ' |
| 3 | #endif |
| 4 | |
| 5 | #ifdef __cplusplus |
| 6 | struct NonZeroI64; |
| 7 | #endif |
| 8 | |
| 9 | #if 0 |
| 10 | ' ''' |
| 11 | #endif |
| 12 | |
| 13 | |
| 14 | #include <stdarg.h> |
| 15 | #include <stdbool.h> |
| 16 | #include <stdint.h> |
| 17 | #include <stdlib.h> |
| 18 | |
| 19 | typedef struct Option_i64 Option_i64; |
| 20 | |
| 21 | typedef struct { |
| 22 | uint8_t a; |
| 23 | uint16_t b; |
| 24 | uint32_t c; |
| 25 | uint64_t d; |
| 26 | int8_t e; |
| 27 | int16_t f; |
| 28 | int32_t g; |
| 29 | int64_t h; |
| 30 | int64_t i; |
| 31 | const Option_i64 *j; |
| 32 | } NonZeroTest; |
| 33 | |
| 34 | #ifdef __cplusplus |
| 35 | extern "C" { |
| 36 | #endif // __cplusplus |
| 37 | |
| 38 | void root(NonZeroTest test, |
| 39 | uint8_t a, |
| 40 | uint16_t b, |
| 41 | uint32_t c, |
| 42 | uint64_t d, |
| 43 | int8_t e, |
| 44 | int16_t f, |
| 45 | int32_t g, |
| 46 | int64_t h, |
| 47 | int64_t i, |
| 48 | const Option_i64 *j); |
| 49 | |
| 50 | #ifdef __cplusplus |
| 51 | } // extern "C" |
| 52 | #endif // __cplusplus |