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