Commit 03e46715 authored by Lisandro Dalcin's avatar Lisandro Dalcin

fix the location of INLINE macro in prototypes of some private functions

parent a7b54653
...@@ -5002,10 +5002,10 @@ bad: ...@@ -5002,10 +5002,10 @@ bad:
restore_exception_utility_code = [ restore_exception_utility_code = [
""" """
static void INLINE __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb); /*proto*/ static INLINE void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb); /*proto*/
static void INLINE __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb); /*proto*/ static INLINE void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb); /*proto*/
""",""" ""","""
static void INLINE __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb) { static INLINE void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb) {
PyObject *tmp_type, *tmp_value, *tmp_tb; PyObject *tmp_type, *tmp_value, *tmp_tb;
PyThreadState *tstate = PyThreadState_GET(); PyThreadState *tstate = PyThreadState_GET();
...@@ -5020,7 +5020,7 @@ static void INLINE __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *t ...@@ -5020,7 +5020,7 @@ static void INLINE __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *t
Py_XDECREF(tmp_tb); Py_XDECREF(tmp_tb);
} }
static void INLINE __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb) { static INLINE void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb) {
PyThreadState *tstate = PyThreadState_GET(); PyThreadState *tstate = PyThreadState_GET();
*type = tstate->curexc_type; *type = tstate->curexc_type;
*value = tstate->curexc_value; *value = tstate->curexc_value;
...@@ -5160,10 +5160,10 @@ bad: ...@@ -5160,10 +5160,10 @@ bad:
reset_exception_utility_code = [ reset_exception_utility_code = [
""" """
static void INLINE __Pyx_ExceptionSave(PyObject **type, PyObject **value, PyObject **tb); /*proto*/ static INLINE void __Pyx_ExceptionSave(PyObject **type, PyObject **value, PyObject **tb); /*proto*/
static void __Pyx_ExceptionReset(PyObject *type, PyObject *value, PyObject *tb); /*proto*/ static void __Pyx_ExceptionReset(PyObject *type, PyObject *value, PyObject *tb); /*proto*/
""",""" ""","""
static void INLINE __Pyx_ExceptionSave(PyObject **type, PyObject **value, PyObject **tb) { static INLINE void __Pyx_ExceptionSave(PyObject **type, PyObject **value, PyObject **tb) {
PyThreadState *tstate = PyThreadState_GET(); PyThreadState *tstate = PyThreadState_GET();
*type = tstate->exc_type; *type = tstate->exc_type;
*value = tstate->exc_value; *value = tstate->exc_value;
......
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