summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-05-31 01:36:05 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-05-31 01:36:05 +0000
commit69b323a02ca50f55ec038449a170493eb1598f46 (patch)
tree4d1b5f4065fff2cfae5436fbc94e0ed69275ca8d /numpy
parent30c9eebbb9f4d4dfcfbdbcfd5ee892ff45ffa4a5 (diff)
downloadnumpy-69b323a02ca50f55ec038449a170493eb1598f46.tar.gz
Add constants for backwards compatibility
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/include/numpy/arrayobject.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/core/include/numpy/arrayobject.h b/numpy/core/include/numpy/arrayobject.h
index c4e7ec741..81bdd8910 100644
--- a/numpy/core/include/numpy/arrayobject.h
+++ b/numpy/core/include/numpy/arrayobject.h
@@ -951,6 +951,10 @@ typedef struct {
} PyArray_Chunk;
/* Array flags */
+/* For backward's compatibility only */
+#define OWN_DIMENSIONS 0
+#define OWN_STRIDES 0
+#define SAVESPACE 0
/* Means c-style contiguous (last index varies the fastest). The
data elements right after each other. */