.cargo/vendor/cbindgen/tests/expectations/prefixed_struct_literal_deep.both.c
raw| 1 | #include <stdarg.h> |
| 2 | #include <stdbool.h> |
| 3 | #include <stdint.h> |
| 4 | #include <stdlib.h> |
| 5 | |
| 6 | typedef struct PREFIXBar { |
| 7 | int32_t a; |
| 8 | } PREFIXBar; |
| 9 | |
| 10 | typedef struct PREFIXFoo { |
| 11 | int32_t a; |
| 12 | uint32_t b; |
| 13 | struct PREFIXBar bar; |
| 14 | } PREFIXFoo; |
| 15 | |
| 16 | #define PREFIXVAL (PREFIXFoo){ .a = 42, .b = 1337, .bar = (PREFIXBar){ .a = 323 } } |
| 17 | |
| 18 | void root(struct PREFIXFoo x); |