mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +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
|
||||
typedef void (*rust_callback)(int32_t);
|
||||
typedef void (*rust_callback)(void*, int32_t);
|
||||
void* cb_target;
|
||||
rust_callback cb;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user