summaryrefslogtreecommitdiff
path: root/numpy/f2py/src/fortranobject.h
diff options
context:
space:
mode:
authorChris Kerr <debdepba@dasganma.tk>2014-11-10 15:58:47 +0000
committerChris Kerr <debdepba@dasganma.tk>2014-11-10 16:03:14 +0000
commit6656d042a5669b4649a63efc0bf59e258d0ee32c (patch)
tree8c5fb142f5dd869adf388c02e817957cb910d529 /numpy/f2py/src/fortranobject.h
parent6693460d94b5766315fc050d287ce4563bf9c368 (diff)
downloadnumpy-6656d042a5669b4649a63efc0bf59e258d0ee32c.tar.gz
DEP: #declaring NPY_NO_DEPRECATED_API in fortranobject.h
Diffstat (limited to 'numpy/f2py/src/fortranobject.h')
-rw-r--r--numpy/f2py/src/fortranobject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/f2py/src/fortranobject.h b/numpy/f2py/src/fortranobject.h
index c9b54e259..2b52f7cb7 100644
--- a/numpy/f2py/src/fortranobject.h
+++ b/numpy/f2py/src/fortranobject.h
@@ -4,6 +4,8 @@
extern "C" {
#endif
+#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
+
#include "Python.h"
#ifdef FORTRANOBJECT_C