Sign in
third-party-mirror
/
cbindgen
/
1f32778f219c6898ee4e83e77a24211565ea817d
/
.
/
cbindgen-0.27.0
/
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
)
{
}