Debian Codegraph @

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

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