shithub: aubio

Download patch

ref: a315be7e0d0b5c2ba0bd7f7a2cb3b1cb15defda4
parent: c05d61ffafcd0312c49d9855f5455afb124a322d
author: Paul Brossier <piem@piem.org>
date: Tue Mar 11 07:38:17 EDT 2014

python/ext/aubio-types.h: define NPY_NO_DEPRECATED_API

--- a/python/ext/aubio-types.h
+++ b/python/ext/aubio-types.h
@@ -1,7 +1,7 @@
 #include <Python.h>
 #include <structmember.h>
 
-//#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
+#define NPY_NO_DEPRECATED_API NPY_1_8_API_VERSION
 
 // define numpy unique symbols for aubio
 #define PY_ARRAY_UNIQUE_SYMBOL PYAUBIO_ARRAY_API
@@ -18,9 +18,9 @@
 #include <numpy/ufuncobject.h>
 #endif
 
-// import aubio
 //#include <numpy/npy_3kcompat.h>
 
+// import aubio
 #define AUBIO_UNSTABLE 1
 #ifdef USE_LOCAL_AUBIO
 #include "aubio.h"