The example code uses trigger_callback(), not do_callback().
This commit is contained in:
parent
805cf81b77
commit
0eedec560c
@ -243,7 +243,7 @@ void trigger_callback() {
|
||||
}
|
||||
~~~~
|
||||
|
||||
In this example Rust's `main()` will call `do_callback()` in C,
|
||||
In this example Rust's `main()` will call `trigger_callback()` in C,
|
||||
which would, in turn, call back to `callback()` in Rust.
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user