Debian Codegraph @

.cargo/vendor/cbindgen/tests/expectations/const_generics_thru.compat.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 #ifdef __cplusplus
23 extern "C" {
24 #endif // __cplusplus
25
26 Outer_1 one(void);
27
28 Outer_2 two(void);
29
30 #ifdef __cplusplus
31 } // extern "C"
32 #endif // __cplusplus