mirror of
https://github.com/rust-lang/rust
synced 2024-09-15 22:50:55 +00:00
Fix FFI guide
This commit is contained in:
parent
21bd17fcc1
commit
01d2efaffe
|
@ -263,6 +263,7 @@ Rust code:
|
|||
|
||||
~~~~no_run
|
||||
|
||||
#[repr(C)]
|
||||
struct RustObject {
|
||||
a: i32,
|
||||
// other members
|
||||
|
|
Loading…
Reference in a new issue