Skip to content

Commit

Permalink
foreign function interface interface
Browse files Browse the repository at this point in the history
  • Loading branch information
durka committed Jul 27, 2016
1 parent 0016af5 commit 1cceca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/book/ffi.md
Expand Up @@ -593,7 +593,7 @@ to represent a nullable function pointer using the C ABI (corresponding to the C
Here is a contrived example. Let's say some C library has a facility for registering a
callback, which gets called in certain situations. The callback is passed a function pointer
and an integer and it is supposed to run the function with the integer as a parameter. So
we have function pointers flying across the FFI interface in both directions.
we have function pointers flying across the FFI boundary in both directions.

```rust
use std::os::raw::c_int;
Expand Down

0 comments on commit 1cceca8

Please sign in to comment.