rollup merge of #17993 : redcape/fix-ffi-docs

This commit is contained in:
Alex Crichton 2014-10-13 15:10:10 -07:00
commit 1263a36a62

View File

@ -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;