.cargo/vendor/cbindgen/tests/expectations/nonnull.compat.c
raw| 1 | #include <stdarg.h> |
| 2 | #include <stdbool.h> |
| 3 | #include <stdint.h> |
| 4 | #include <stdlib.h> |
| 5 | |
| 6 | typedef struct Opaque Opaque; |
| 7 | |
| 8 | typedef struct { |
| 9 | float *a; |
| 10 | uint64_t *b; |
| 11 | Opaque *c; |
| 12 | uint64_t **d; |
| 13 | float **e; |
| 14 | Opaque **f; |
| 15 | uint64_t *g; |
| 16 | int32_t *h; |
| 17 | int32_t **i; |
| 18 | } Foo_u64; |
| 19 | |
| 20 | #ifdef __cplusplus |
| 21 | extern "C" { |
| 22 | #endif // __cplusplus |
| 23 | |
| 24 | void root(int32_t *arg, Foo_u64 *foo, Opaque **d); |
| 25 | |
| 26 | #ifdef __cplusplus |
| 27 | } // extern "C" |
| 28 | #endif // __cplusplus |