diff options
author | David Cournapeau <cournape@gmail.com> | 2009-04-30 08:42:26 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-04-30 08:42:26 +0000 |
commit | a77eaf94e297531b59c7c63d8528aac65054e0e8 (patch) | |
tree | dff6800c6337d4c3f363f15790071da61aec80b7 /numpy/core/src/arraymapping.h | |
parent | 1f37ab2935d98654a57f139bb5ef8ee8fb0f9832 (diff) | |
download | numpy-a77eaf94e297531b59c7c63d8528aac65054e0e8.tar.gz |
Put multiarray modul sources into separate directory.
Diffstat (limited to 'numpy/core/src/arraymapping.h')
-rw-r--r-- | numpy/core/src/arraymapping.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/numpy/core/src/arraymapping.h b/numpy/core/src/arraymapping.h deleted file mode 100644 index 0b9b712fe..000000000 --- a/numpy/core/src/arraymapping.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef _NPY_ARRAYMAPPING_H_ -#define _NPY_ARRAYMAPPING_H_ - -extern NPY_NO_EXPORT PyMappingMethods array_as_mapping; - -NPY_NO_EXPORT Py_ssize_t -array_length(PyArrayObject *self); - -NPY_NO_EXPORT PyObject * -array_item_nice(PyArrayObject *self, Py_ssize_t i); - -NPY_NO_EXPORT PyObject * -array_subscript(PyArrayObject *self, PyObject *op); - -NPY_NO_EXPORT int -array_ass_big_item(PyArrayObject *self, intp i, PyObject *v); - -#if PY_VERSION_HEX < 0x02050000 -#if SIZEOF_INT == SIZEOF_INTP -#define array_ass_item array_ass_big_item -#endif -#else -#if SIZEOF_SIZE_T == SIZEOF_INTP -#define array_ass_item array_ass_big_item -#endif -#endif -#ifndef array_ass_item -NPY_NO_EXPORT int -array_ass_item(PyArrayObject *self, Py_ssize_t i, PyObject *v) -{ - return array_ass_big_item(self, (intp) i, v); -} -#endif - -#endif |