Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -3,8 +3,8 @@ · 2 unmodified lines | |||
| 3 | 3 | ||
| 4 | typedef smpl_t (*aubio_unary_func_t)(smpl_t input); | 4 | typedef smpl_t (*aubio_unary_func_t)(smpl_t input); |
| 5 | 5 | ||
| 6 | static void aubio_PyUFunc_d_d(char **args, npy_intp *dimensions, | 6 | static void aubio_PyUFunc_d_d(char **args, const npy_intp *dimensions, |
| 7 | npy_intp* steps, void* data) | 7 | const npy_intp* steps, void* data) |
| 8 | { | 8 | { |
| 9 | npy_intp i; | 9 | npy_intp i; |
| 10 | npy_intp n = dimensions[0]; | 10 | npy_intp n = dimensions[0]; |
| @@ -22,8 +22,8 @@ static void aubio_PyUFunc_d_d(char **args, npy_intp *dimensions, · 11 unmodified lines | |||
| 22 | } | 22 | } |
| 23 | } | 23 | } |
| 24 | 24 | ||
| 25 | static void aubio_PyUFunc_f_f_As_d_d(char **args, npy_intp *dimensions, | 25 | static void aubio_PyUFunc_f_f_As_d_d(char **args, const npy_intp *dimensions, |
| 26 | npy_intp* steps, void* data) | 26 | const npy_intp* steps, void* data) |
| 27 | { | 27 | { |
| 28 | npy_intp i; | 28 | npy_intp i; |
| 29 | npy_intp n = dimensions[0]; | 29 | npy_intp n = dimensions[0]; |