Changeset 95ff046 for python/ext


Ignore:
Timestamp:
Jul 2, 2020, 11:16:13 AM (4 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn, feature/crepe, fix/ffmpeg5, master
Children:
66e8265
Parents:
2940671
Message:

[py] add const qualifiers to ufuncs prototypes for latest numpy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/ext/ufuncs.c

    r2940671 r95ff046  
    44typedef smpl_t (*aubio_unary_func_t)(smpl_t input);
    55
    6 static void aubio_PyUFunc_d_d(char **args, npy_intp *dimensions,
    7                             npy_intp* steps, void* data)
     6static void aubio_PyUFunc_d_d(char **args, const npy_intp *dimensions,
     7                            const npy_intp* steps, void* data)
    88{
    99    npy_intp i;
     
    2323}
    2424
    25 static void aubio_PyUFunc_f_f_As_d_d(char **args, npy_intp *dimensions,
    26                             npy_intp* steps, void* data)
     25static void aubio_PyUFunc_f_f_As_d_d(char **args, const npy_intp *dimensions,
     26                            const npy_intp* steps, void* data)
    2727{
    2828    npy_intp i;
Note: See TracChangeset for help on using the changeset viewer.