summaryrefslogtreecommitdiff
path: root/numpy/f2py/cfuncs.py
diff options
context:
space:
mode:
authorChris Kerr <debdepba@dasganma.tk>2014-11-10 15:49:14 +0000
committerChris Kerr <debdepba@dasganma.tk>2014-11-10 16:02:48 +0000
commit7b607316a8044f5dbb3be054826ab9bd295b66d1 (patch)
tree0fe940af4b641cada9f4419bfb23bd852d7482f8 /numpy/f2py/cfuncs.py
parent5f321b415010ec74a978bb4bb495c46dd5af0b09 (diff)
downloadnumpy-7b607316a8044f5dbb3be054826ab9bd295b66d1.tar.gz
DEP: Replace NPY_CONTIGUOUS with NPY_ARRAY_C_CONTIGUOUS
Diffstat (limited to 'numpy/f2py/cfuncs.py')
-rw-r--r--numpy/f2py/cfuncs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/cfuncs.py b/numpy/f2py/cfuncs.py
index 329c08bcd..01e189dc1 100644
--- a/numpy/f2py/cfuncs.py
+++ b/numpy/f2py/cfuncs.py
@@ -223,7 +223,7 @@ cppmacros['SWAP']="""\
\ta = b;\\
\tb = c;}
"""
-#cppmacros['ISCONTIGUOUS']='#define ISCONTIGUOUS(m) (PyArray_FLAGS(m) & NPY_CONTIGUOUS)'
+#cppmacros['ISCONTIGUOUS']='#define ISCONTIGUOUS(m) (PyArray_FLAGS(m) & NPY_ARRAY_C_CONTIGUOUS)'
cppmacros['PRINTPYOBJERR']="""\
#define PRINTPYOBJERR(obj)\\
\tfprintf(stderr,\"#modulename#.error is related to \");\\