.cargo/vendor/cbindgen/tests/expectations/struct.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 | int32_t x; |
| 10 | float y; |
| 11 | } Normal; |
| 12 | |
| 13 | typedef struct { |
| 14 | int32_t x; |
| 15 | float y; |
| 16 | } NormalWithZST; |
| 17 | |
| 18 | typedef struct { |
| 19 | int32_t m0; |
| 20 | float m1; |
| 21 | } TupleRenamed; |
| 22 | |
| 23 | typedef struct { |
| 24 | int32_t x; |
| 25 | float y; |
| 26 | } TupleNamed; |
| 27 | |
| 28 | void root(Opaque *a, Normal b, NormalWithZST c, TupleRenamed d, TupleNamed e); |