Skip to content

Commit 5fafe50

Browse files
committed
Corrected ffi signature for approx1 & approx2 functions
1 parent fbf67c9 commit 5fafe50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/signal/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ type AfArray = self::libc::c_longlong;
1212
#[allow(dead_code)]
1313
extern {
1414
fn af_approx1(out: MutAfArray, inp: AfArray, pos: AfArray,
15-
method: c_int, off_grid: c_float);
15+
method: c_int, off_grid: c_float) -> c_int;
1616

1717
fn af_approx2(out: MutAfArray, inp: AfArray, pos0: AfArray, pos1: AfArray,
18-
method: c_int, off_grid: c_float);
18+
method: c_int, off_grid: c_float) -> c_int;
1919

2020
fn af_fft(out: MutAfArray, arr: AfArray,
2121
nfac: c_double, odim0: c_longlong) -> c_int;

0 commit comments

Comments
 (0)