Sign in
third-party-mirror
/
cbindgen
/
refs/heads/main
/
.
/
cbindgen-0.27.0
/
tests
/
rust
/
extern.rs
blob: e9a93920ec6f0dbe23c5e31d76b0d04c18b58f63 [
file
] [
log
] [
blame
] [
edit
]
#[
repr
(
C
)]
struct
Normal
{
x
:
i32
,
y
:
f32
,
}
extern
"C"
{
fn
foo
()
->
i32
;
fn
bar
(
a
:
Normal
);
}
extern
{
fn
baz
()
->
i32
;
}