summaryrefslogtreecommitdiff
path: root/numpy/core/src/arrayobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/src/arrayobject.h')
-rw-r--r--numpy/core/src/arrayobject.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/numpy/core/src/arrayobject.h b/numpy/core/src/arrayobject.h
index b4fd76490..bedbf6223 100644
--- a/numpy/core/src/arrayobject.h
+++ b/numpy/core/src/arrayobject.h
@@ -48,6 +48,12 @@ extern NPY_NO_EXPORT PyArray_Descr **userdescrs;
#define error_converting(x) (((x) == -1) && PyErr_Occurred())
+#define SOBJ_NOTFANCY 0
+#define SOBJ_ISFANCY 1
+#define SOBJ_BADARRAY 2
+#define SOBJ_TOOMANY 3
+#define SOBJ_LISTTUP 4
+
NPY_NO_EXPORT int
_flat_copyinto(PyObject *dst, PyObject *src, NPY_ORDER order);
@@ -103,6 +109,12 @@ add_new_axes_0d(PyArrayObject *, int);
NPY_NO_EXPORT int
count_new_axes_0d(PyObject *tuple);
+NPY_NO_EXPORT PyObject *
+array_richcompare(PyArrayObject *self, PyObject *other, int cmp_op);
+
+NPY_NO_EXPORT PyObject *
+array_subscript_simple(PyArrayObject *self, PyObject *op);
+
/* FIXME: this is defined in multiarraymodule.c ... */
NPY_NO_EXPORT PyObject *
__New_PyArray_Std(PyArrayObject *self, int axis, int rtype, PyArrayObject *out,