ZeroTierOne/zeroidc/vendor/cbindgen/tests/expectations/lifetime_arg.c

24 lines
281 B
C

#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
typedef struct {
const int32_t *data;
} A;
typedef enum {
V,
U,
} E_Tag;
typedef struct {
E_Tag tag;
union {
struct {
const uint8_t *u;
};
};
} E;
void root(A _a, E _e);