Sign in
third-party-mirror
/
cbindgen
/
9a26cd0114a633fa05ece30bd3f1b13149f496f2
/
.
/
cbindgen-0.24.5
/
tests
/
rust
/
namespace_constant.rs
blob: 01a8450b5d0eac294be58b3829fac9819ebb0459 [
file
] [
log
] [
blame
]
pub
const
FOO
:
i32
=
10
;
pub
const
BAR
:
&
'
static
str
=
"hello world"
;
pub
const
ZOM
:
f32
=
3.14
;
#[
repr
(
C
)]
struct
Foo
{
x
:
[
i32
;
FOO
],
}
#[
no_mangle
]
pub
extern
"C"
fn
root
(
x
:
Foo
)
{
}