summaryrefslogtreecommitdiff
path: root/numpy/core/include
diff options
context:
space:
mode:
authorczgdp1807 <gdp.1807@gmail.com>2021-06-05 15:08:40 +0530
committerczgdp1807 <gdp.1807@gmail.com>2021-06-05 15:08:40 +0530
commit3a3d31b338258c099fa4f2d4e4290b19b2a409b0 (patch)
tree8e7939534f5f12ae1d1be3f25e9a23d468f89c50 /numpy/core/include
parent496bd1a84a6a62adf5f8cb48cf7abc7795484531 (diff)
downloadnumpy-3a3d31b338258c099fa4f2d4e4290b19b2a409b0.tar.gz
initial work for supporting never_copy
Diffstat (limited to 'numpy/core/include')
-rw-r--r--numpy/core/include/numpy/ndarraytypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/core/include/numpy/ndarraytypes.h b/numpy/core/include/numpy/ndarraytypes.h
index d1acfdf26..569e6bb34 100644
--- a/numpy/core/include/numpy/ndarraytypes.h
+++ b/numpy/core/include/numpy/ndarraytypes.h
@@ -451,6 +451,8 @@ typedef struct {
int len;
} PyArray_Dims;
+typedef enum {IF_NEEDED, ALWAYS, NEVER} PyNpCopyMode_Enum;
+
typedef struct {
/*
* Functions to cast to most other standard types