summaryrefslogtreecommitdiff
path: root/numpy/core/include
diff options
context:
space:
mode:
authorGagandeep Singh <gdp.1807@gmail.com>2021-11-02 13:04:51 +0530
committerGagandeep Singh <gdp.1807@gmail.com>2021-11-02 13:04:51 +0530
commit790f927fcedb7debc477746ffb7a4a2eb1668693 (patch)
tree8bd6df7baa87bfceecda52eb801be6b578a6998e /numpy/core/include
parentc04509e86e97a69a0b5fcbeebdbec66faad3dbe0 (diff)
downloadnumpy-790f927fcedb7debc477746ffb7a4a2eb1668693.tar.gz
Addressed reviews
Diffstat (limited to 'numpy/core/include')
-rw-r--r--numpy/core/include/numpy/ndarraytypes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/include/numpy/ndarraytypes.h b/numpy/core/include/numpy/ndarraytypes.h
index a1d1c01dc..566eae357 100644
--- a/numpy/core/include/numpy/ndarraytypes.h
+++ b/numpy/core/include/numpy/ndarraytypes.h
@@ -449,11 +449,11 @@ typedef struct {
int len;
} PyArray_Dims;
-typedef enum PyNpCopyMode {
+typedef enum {
NPY_COPY_IF_NEEDED,
NPY_COPY_ALWAYS,
NPY_COPY_NEVER
-} PyArray_CopyMode;
+} _PyArray_CopyMode;
typedef struct {
/*
@@ -938,7 +938,7 @@ typedef int (PyArray_FinalizeFunc)(PyArrayObject *, PyObject *);
#define NPY_ARRAY_UPDATEIFCOPY 0x1000 /* Deprecated in 1.14 */
#define NPY_ARRAY_WRITEBACKIFCOPY 0x2000
-#define NPY_ARRAY_ENSURENOCOPY 0x4000
+#define _NPY_ARRAY_ENSURENOCOPY 0x4000
/*
* NOTE: there are also internal flags defined in multiarray/arrayobject.h,