Sign in
third-party-mirror
/
cbindgen
/
9a26cd0114a633fa05ece30bd3f1b13149f496f2
/
.
/
cbindgen-0.24.5
/
tests
/
expectations
/
lifetime_arg.tag.c
blob: f024829eb7f2737b4bf9d0d0ae5def6cee9e848d [
file
] [
log
] [
blame
]
#include
<stdarg.h>
#include
<stdbool.h>
#include
<stdint.h>
#include
<stdlib.h>
struct
A
{
const
int32_t
*
data
;
};
enum
E_Tag
{
V
,
U
,
};
struct
E
{
enum
E_Tag tag
;
union
{
struct
{
const
uint8_t
*
u
;
};
};
};
void
root
(
struct
A _a
,
struct
E _e
);