summaryrefslogtreecommitdiff
path: root/numpy/lib/src
diff options
context:
space:
mode:
authorMark Wiebe <mwwiebe@gmail.com>2012-02-04 16:28:28 -0800
committerCharles Harris <charlesr.harris@gmail.com>2012-04-06 15:54:30 -0600
commite1218cc68ddab6b806628877de19394616df04f7 (patch)
tree19f29d1532ec15098db09431ad369b28b7b2d03e /numpy/lib/src
parent5ede7c7bc2e9342269e708fd183c5311917b9169 (diff)
downloadnumpy-e1218cc68ddab6b806628877de19394616df04f7.tar.gz
DEP: Update all the '#define NPY_NO_DEPRECATED_API' instances to be
versioned
Diffstat (limited to 'numpy/lib/src')
-rw-r--r--numpy/lib/src/_compiled_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/src/_compiled_base.c b/numpy/lib/src/_compiled_base.c
index 61935a39b..c31ee5cd8 100644
--- a/numpy/lib/src/_compiled_base.c
+++ b/numpy/lib/src/_compiled_base.c
@@ -1,4 +1,4 @@
-#define NPY_NO_DEPRECATED_API
+#define NPY_NO_DEPRECATED_API NPY_API_VERSION
#include "Python.h"
#include "structmember.h"
#include "numpy/arrayobject.h"