Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
cython
Commits
03e46715
Commit
03e46715
authored
Oct 23, 2008
by
Lisandro Dalcin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix the location of INLINE macro in prototypes of some private functions
parent
a7b54653
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
Cython/Compiler/Nodes.py
Cython/Compiler/Nodes.py
+6
-6
No files found.
Cython/Compiler/Nodes.py
View file @
03e46715
...
@@ -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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment