python/: remove NPY_NO_DEPRECATED_API to build anyway
authorPaul Brossier <piem@piem.org>
Thu, 28 Feb 2013 18:18:11 +0000 (13:18 -0500)
committerPaul Brossier <piem@piem.org>
Thu, 28 Feb 2013 18:18:11 +0000 (13:18 -0500)
python/aubio-types.h
python/aubiomodule.c

index d63bbcd417f044319123b7dde2d3cadb3116a898..9d38c6e37edafdf6401b14c246a7c1c19a5e94a5 100644 (file)
@@ -1,7 +1,7 @@
 #include <Python.h>
 #include <structmember.h>
 #define NO_IMPORT_ARRAY
-#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
+//#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
 #include <numpy/arrayobject.h>
 #define AUBIO_UNSTABLE 1
 #include <aubio.h>
index df5787e1fac41ded7a9591d78e77433064e827b0..9e607af437e03637ae981ce9fdd82ca81ec919cc 100644 (file)
@@ -1,6 +1,6 @@
 #include <Python.h>
 #define PY_ARRAY_UNIQUE_SYMBOL PyArray_API
-#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
+//#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
 #include <numpy/arrayobject.h>
 
 #include "aubio-types.h"