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.
1 parent cb309a4 commit 8771c83Copy full SHA for 8771c83
src/npyffi/mod.rs
@@ -41,7 +41,7 @@ macro_rules! impl_api {
41
#[allow(non_snake_case)]
42
pub unsafe fn $fname(&self, $($arg : $t), *) $( -> $ret )* {
43
let fptr = self.0.offset($offset)
44
- as (*const extern fn ($($arg : $t), *) $( -> $ret )* );
+ as *const extern fn ($($arg : $t), *) $( -> $ret )*;
45
(*fptr)($($arg), *)
46
}
47
0 commit comments