We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 57ed447 + 1a79ab1 commit f17a018Copy full SHA for f17a018
src/ffi.md
@@ -90,7 +90,7 @@ The `extern` block can be extended to cover the entire snappy API:
90
use libc::{c_int, size_t};
91
92
#[link(name = "snappy")]
93
-unsafe extern {
+unsafe extern "C" {
94
fn snappy_compress(input: *const u8,
95
input_length: size_t,
96
compressed: *mut u8,
0 commit comments