Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | #include <Python.h> |
| 2 | 2 | #include <structmember.h> |
| 3 | 3 | |
| 4 | −//#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION | |
| 4 | +#define NPY_NO_DEPRECATED_API NPY_1_8_API_VERSION | |
| 5 | 5 | |
| 6 | 6 | // define numpy unique symbols for aubio |
| 7 | 7 | #define PY_ARRAY_UNIQUE_SYMBOL PYAUBIO_ARRAY_API |
| @@ -18,9 +18,9 @@ · 10 unmodified lines | ||
| 18 | 18 | #include <numpy/ufuncobject.h> |
| 19 | 19 | #endif |
| 20 | 20 | |
| 21 | −// import aubio | |
| 22 | 21 | //#include <numpy/npy_3kcompat.h> |
| 23 | 22 | |
| 23 | +// import aubio | |
| 24 | 24 | #define AUBIO_UNSTABLE 1 |
| 25 | 25 | #ifdef USE_LOCAL_AUBIO |
| 26 | 26 | #include "aubio.h" |