Debian Codegraph @

.cargo/vendor/cbindgen/tests/expectations/const_generics_thru.both.c

raw
1 #include <stdarg.h>
2 #include <stdbool.h>
3 #include <stdint.h>
4 #include <stdlib.h>
5
6 typedef struct Inner_1 {
7 uint8_t bytes[1];
8 } Inner_1;
9
10 typedef struct Outer_1 {
11 struct Inner_1 inner;
12 } Outer_1;
13
14 typedef struct Inner_2 {
15 uint8_t bytes[2];
16 } Inner_2;
17
18 typedef struct Outer_2 {
19 struct Inner_2 inner;
20 } Outer_2;
21
22 struct Outer_1 one(void);
23
24 struct Outer_2 two(void);