summaryrefslogtreecommitdiff
path: root/numpy/core/include
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2022-03-07 17:28:10 -0800
committerSebastian Berg <sebastian@sipsolutions.net>2022-06-15 11:42:02 -0700
commitedb369dc743db66fcd7447bd43da17e5cdddc2c6 (patch)
tree374a57c9aae2e4b5e971464b6b578c85223762d5 /numpy/core/include
parent7c1438344914eab36dafb50edf349094cae47aae (diff)
downloadnumpy-edb369dc743db66fcd7447bd43da17e5cdddc2c6.tar.gz
WIP: Implement weak scalar logic
Diffstat (limited to 'numpy/core/include')
-rw-r--r--numpy/core/include/numpy/ndarraytypes.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/numpy/core/include/numpy/ndarraytypes.h b/numpy/core/include/numpy/ndarraytypes.h
index 97e0f4e2a..1db3b974f 100644
--- a/numpy/core/include/numpy/ndarraytypes.h
+++ b/numpy/core/include/numpy/ndarraytypes.h
@@ -872,17 +872,6 @@ typedef int (PyArray_FinalizeFunc)(PyArrayObject *, PyObject *);
*/
#define NPY_ARRAY_ENSUREARRAY 0x0040
-#if defined(NPY_INTERNAL_BUILD) && NPY_INTERNAL_BUILD
- /*
- * Dual use of the ENSUREARRAY flag, to indicate that this was converted
- * from a python float, int, or complex.
- * An array using this flag must be a temporary array that can never
- * leave the C internals of NumPy. Even if it does, ENSUREARRAY is
- * absolutely safe to abuse, since it already is a base class array :).
- */
- #define _NPY_ARRAY_WAS_PYSCALAR 0x0040
-#endif /* NPY_INTERNAL_BUILD */
-
/*
* Make sure that the strides are in units of the element size Needed
* for some operations with record-arrays.