.cargo/vendor/cbindgen/tests/expectations/union.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 union { |
| 9 | int32_t x; |
| 10 | float y; |
| 11 | } Normal; |
| 12 | |
| 13 | typedef union { |
| 14 | int32_t x; |
| 15 | float y; |
| 16 | } NormalWithZST; |
| 17 | |
| 18 | void root(Opaque *a, Normal b, NormalWithZST c); |