Debian Codegraph @

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

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