.cargo/vendor/cbindgen/tests/expectations/const_generics.both.c
raw| 1 | #include <stdarg.h> |
| 2 | #include <stdbool.h> |
| 3 | #include <stdint.h> |
| 4 | #include <stdlib.h> |
| 5 | |
| 6 | #define TITLE_SIZE 80 |
| 7 | |
| 8 | typedef int8_t CArrayString_TITLE_SIZE[TITLE_SIZE]; |
| 9 | |
| 10 | typedef int8_t CArrayString_40[40]; |
| 11 | |
| 12 | typedef struct Book { |
| 13 | CArrayString_TITLE_SIZE title; |
| 14 | CArrayString_40 author; |
| 15 | } Book; |
| 16 | |
| 17 | void root(struct Book *a); |