projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c05d61f
)
python/ext/aubio-types.h: define NPY_NO_DEPRECATED_API
author
Paul Brossier
<piem@piem.org>
Tue, 11 Mar 2014 14:38:17 +0000
(11:38 -0300)
committer
Paul Brossier
<piem@piem.org>
Tue, 11 Mar 2014 14:38:17 +0000
(11:38 -0300)
python/ext/aubio-types.h
patch
|
blob
|
history
diff --git
a/python/ext/aubio-types.h
b/python/ext/aubio-types.h
index
64af89b
..
91842ed
100644
(file)
--- 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"