ffi: explicitly declare hello_from_rust for C99

pull/343/head
mqy 3 years ago
parent 90993eeac9
commit 728311643d

@ -281,6 +281,8 @@ We'll create a C file to call the `hello_from_rust` function and compile it by `
C file should look like:
```c
extern void hello_from_rust();
int main(void) {
hello_from_rust();
return 0;

Loading…
Cancel
Save