Skip to content

Commit 4d2d275

Browse files
amosonnGankra
authored andcommitted
Fix example in FFI, section NPO
1 parent 1e1dd96 commit 4d2d275

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ffi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ fn main() {
648648
And the code on the C side looks like this:
649649

650650
```c
651-
void register(void (*f)(void (*)(int), int)) {
651+
void register(void (*f)(int (*)(int), int)) {
652652
...
653653
}
654654
```

0 commit comments

Comments
 (0)