.cargo/vendor/cbindgen/tests/expectations/constant_constexpr.compat.c
raw| 1 | #include <stdarg.h> |
| 2 | #include <stdbool.h> |
| 3 | #include <stdint.h> |
| 4 | #include <stdlib.h> |
| 5 | |
| 6 | #define CONSTANT_I64 216 |
| 7 | |
| 8 | #define CONSTANT_FLOAT32 312.292 |
| 9 | |
| 10 | #define DELIMITER ':' |
| 11 | |
| 12 | #define LEFTCURLY '{' |
| 13 | |
| 14 | typedef struct { |
| 15 | int32_t x; |
| 16 | } Foo; |
| 17 | #define Foo_CONSTANT_I64_BODY 216 |
| 18 | |
| 19 | #define SomeFoo (Foo){ .x = 99 } |