Commit 0ffbe094 authored by Stefan Behnel's avatar Stefan Behnel

fix utility function name

parent 6f08cbb8
...@@ -430,9 +430,9 @@ static CYTHON_INLINE void __Pyx_crop_slice(Py_ssize_t* _start, Py_ssize_t* _stop ...@@ -430,9 +430,9 @@ static CYTHON_INLINE void __Pyx_crop_slice(Py_ssize_t* _start, Py_ssize_t* _stop
} }
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
static CYTHON_INLINE void Pyx_copy_object_array(PyObject** restrict src, PyObject** restrict dest, Py_ssize_t length) { static CYTHON_INLINE void __Pyx_copy_object_array(PyObject** restrict src, PyObject** restrict dest, Py_ssize_t length) {
#else #else
static CYTHON_INLINE void Pyx_copy_object_array(PyObject** src, PyObject** dest, Py_ssize_t length) { static CYTHON_INLINE void __Pyx_copy_object_array(PyObject** src, PyObject** dest, Py_ssize_t length) {
#endif #endif
PyObject *v; PyObject *v;
Py_ssize_t i; Py_ssize_t i;
...@@ -453,7 +453,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyList_GetSlice( ...@@ -453,7 +453,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyList_GetSlice(
dest = PyList_New(length); dest = PyList_New(length);
if (unlikely(!dest)) if (unlikely(!dest))
return NULL; return NULL;
Pyx_copy_object_array( __Pyx_copy_object_array(
((PyListObject*)src)->ob_item + start, ((PyListObject*)src)->ob_item + start,
((PyListObject*)dest)->ob_item, ((PyListObject*)dest)->ob_item,
length); length);
...@@ -471,7 +471,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyTuple_GetSlice( ...@@ -471,7 +471,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyTuple_GetSlice(
dest = PyTuple_New(length); dest = PyTuple_New(length);
if (unlikely(!dest)) if (unlikely(!dest))
return NULL; return NULL;
Pyx_copy_object_array( __Pyx_copy_object_array(
((PyTupleObject*)src)->ob_item + start, ((PyTupleObject*)src)->ob_item + start,
((PyTupleObject*)dest)->ob_item, ((PyTupleObject*)dest)->ob_item,
length); length);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment