History

python/: remove NPY_NO_DEPRECATED_API to build anyway

Paul Brossier committed 13 years ago

Commit cd6fc5a1 parent 81fe3272 files · +2 −2Browse files

Showing the changes to python (2 of 2 files). Show all

Unified · Split

2 files
  1. python/aubio-types.h +1 −1
  2. python/aubiomodule.c +1 −1
python/aubio-types.h+1−1
@@ -1,7 +1,7 @@
1#include <Python.h>1#include <Python.h>
2#include <structmember.h>2#include <structmember.h>
3#define NO_IMPORT_ARRAY3#define NO_IMPORT_ARRAY
4#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION4//#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
5#include <numpy/arrayobject.h>5#include <numpy/arrayobject.h>
6#define AUBIO_UNSTABLE 16#define AUBIO_UNSTABLE 1
7#include <aubio.h>7#include <aubio.h>
python/aubiomodule.c+1−1
@@ -1,6 +1,6 @@
1#include <Python.h>1#include <Python.h>
2#define PY_ARRAY_UNIQUE_SYMBOL PyArray_API2#define PY_ARRAY_UNIQUE_SYMBOL PyArray_API
3#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION3//#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
4#include <numpy/arrayobject.h>4#include <numpy/arrayobject.h>
5 5
6#include "aubio-types.h"6#include "aubio-types.h"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t