Commit 9f1b755e authored by Stefan Behnel's avatar Stefan Behnel

Avoid inlining some generic fallback functions. However short they are, they...

Avoid inlining some generic fallback functions. However short they are, they are just fallbacks and shouldn't get in the way.
parent bbb95b83
...@@ -305,13 +305,13 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_{{type}}_Fast(PyObject *o, Py_ss ...@@ -305,13 +305,13 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_{{type}}_Fast(PyObject *o, Py_ss
int wraparound, int boundscheck); int wraparound, int boundscheck);
{{endfor}} {{endfor}}
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j); static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j);
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i, static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
int is_list, int wraparound, int boundscheck); int is_list, int wraparound, int boundscheck);
/////////////// GetItemInt /////////////// /////////////// GetItemInt ///////////////
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) { static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) {
PyObject *r; PyObject *r;
if (!j) return NULL; if (!j) return NULL;
r = PyObject_GetItem(o, j); r = PyObject_GetItem(o, j);
...@@ -393,13 +393,13 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i, ...@@ -393,13 +393,13 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
(is_list ? (PyErr_SetString(PyExc_IndexError, "list assignment index out of range"), -1) : \ (is_list ? (PyErr_SetString(PyExc_IndexError, "list assignment index out of range"), -1) : \
__Pyx_SetItemInt_Generic(o, to_py_func(i), v))) __Pyx_SetItemInt_Generic(o, to_py_func(i), v)))
static CYTHON_INLINE int __Pyx_SetItemInt_Generic(PyObject *o, PyObject *j, PyObject *v); static int __Pyx_SetItemInt_Generic(PyObject *o, PyObject *j, PyObject *v);
static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObject *v, static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObject *v,
int is_list, int wraparound, int boundscheck); int is_list, int wraparound, int boundscheck);
/////////////// SetItemInt /////////////// /////////////// SetItemInt ///////////////
static CYTHON_INLINE int __Pyx_SetItemInt_Generic(PyObject *o, PyObject *j, PyObject *v) { static int __Pyx_SetItemInt_Generic(PyObject *o, PyObject *j, PyObject *v) {
int r; int r;
if (!j) return -1; if (!j) return -1;
r = PyObject_SetItem(o, j, v); r = PyObject_SetItem(o, j, v);
...@@ -458,13 +458,13 @@ static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObje ...@@ -458,13 +458,13 @@ static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObje
(is_list ? (PyErr_SetString(PyExc_IndexError, "list assignment index out of range"), -1) : \ (is_list ? (PyErr_SetString(PyExc_IndexError, "list assignment index out of range"), -1) : \
__Pyx_DelItem_Generic(o, to_py_func(i)))) __Pyx_DelItem_Generic(o, to_py_func(i))))
static CYTHON_INLINE int __Pyx_DelItem_Generic(PyObject *o, PyObject *j); static int __Pyx_DelItem_Generic(PyObject *o, PyObject *j);
static CYTHON_INLINE int __Pyx_DelItemInt_Fast(PyObject *o, Py_ssize_t i, static CYTHON_INLINE int __Pyx_DelItemInt_Fast(PyObject *o, Py_ssize_t i,
int is_list, int wraparound); int is_list, int wraparound);
/////////////// DelItemInt /////////////// /////////////// DelItemInt ///////////////
static CYTHON_INLINE int __Pyx_DelItem_Generic(PyObject *o, PyObject *j) { static int __Pyx_DelItem_Generic(PyObject *o, PyObject *j) {
int r; int r;
if (!j) return -1; if (!j) return -1;
r = PyObject_DelItem(o, j); r = PyObject_DelItem(o, j);
......
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