Debian Codegraph @

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

raw
1 #include <stdarg.h>
2 #include <stdbool.h>
3 #include <stdint.h>
4 #include <stdlib.h>
5
6 typedef struct A {
7 const int32_t *data;
8 } A;
9
10 typedef enum E_Tag {
11 V,
12 U,
13 } E_Tag;
14
15 typedef struct E {
16 E_Tag tag;
17 union {
18 struct {
19 const uint8_t *u;
20 };
21 };
22 } E;
23
24 void root(struct A _a, struct E _e);