Sign in
third-party-mirror
/
cbindgen
/
9a26cd0114a633fa05ece30bd3f1b13149f496f2
/
.
/
cbindgen-0.24.5
/
tests
/
rust
/
raw_ident.rs
blob: d3ceb56540c5f6bc7f715ca74aa3a89de5121804 [
file
] [
log
] [
blame
]
#[
repr
(
u8
)]
pub
enum
r
#
Enum
{
r
#
a
,
r
#
b
,
}
#[
repr
(
C
)]
pub
struct
r
#
Struct
{
r
#
field
:
r
#
Enum
,
}
#[
no_mangle
]
pub
extern
"C"
fn
r
#
fn
(
r
#
arg
:
r
#
Struct
)
{
println
!(
"Hello world"
);
}
pub
mod
r
#
mod
{
#[
no_mangle
]
pub
static
r
#
STATIC
:
r
#
Enum
=
r
#
Enum
::
r
#
b
;
}