ref: cd6fc5a515bfc3fe647d2236c3a2949d86a7d4d5
parent: 81fe32734168e80d53cd575535a63ce99b1eb6a0
author: Paul Brossier <piem@piem.org>
date: Thu Feb 28 08:18:11 EST 2013
python/: remove NPY_NO_DEPRECATED_API to build anyway
--- a/python/aubio-types.h
+++ b/python/aubio-types.h
@@ -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>
--- a/python/aubiomodule.c
+++ b/python/aubiomodule.c
@@ -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"