Sign in
third-party-mirror
/
cbindgen
/
9a26cd0114a633fa05ece30bd3f1b13149f496f2
/
.
/
cbindgen-0.24.5
/
tests
/
rust
/
lifetime_arg.rs
blob: b80fde2fae608c12acd402ab63572d8ef6cdef92 [
file
] [
log
] [
blame
]
#[
repr
(
C
)]
struct
A
<
'
a
>
{
data
:
&
'
a i32
}
#[
repr
(
C
)]
enum
E
<
'
a
>
{
V
,
U
(&
'
a u8
),
}
#[
no_mangle
]
pub
extern
"C"
fn
root
<
'a>(_a: A<'
a
>,
_e
:
E
<
'
a
>)
{
}