mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
rollup merge of #17993 : redcape/fix-ffi-docs
This commit is contained in:
commit
1263a36a62
@ -298,7 +298,7 @@ fn main() {
|
|||||||
C code:
|
C code:
|
||||||
|
|
||||||
~~~~c
|
~~~~c
|
||||||
typedef void (*rust_callback)(int32_t);
|
typedef void (*rust_callback)(void*, int32_t);
|
||||||
void* cb_target;
|
void* cb_target;
|
||||||
rust_callback cb;
|
rust_callback cb;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user