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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
234a6fd6
Commit
234a6fd6
authored
Oct 25, 2008
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
044d0aff
2a4086d3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
Cython/Compiler/Nodes.py
Cython/Compiler/Nodes.py
+6
-6
Cython/Includes/numpy.pxd
Cython/Includes/numpy.pxd
+3
-3
No files found.
Cython/Compiler/Nodes.py
View file @
234a6fd6
...
@@ -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;
...
...
Cython/Includes/numpy.pxd
View file @
234a6fd6
...
@@ -176,9 +176,9 @@ cdef extern from "numpy/arrayobject.h":
...
@@ -176,9 +176,9 @@ cdef extern from "numpy/arrayobject.h":
cdef
int
PyArray_TYPE
(
ndarray
arr
)
cdef
int
PyArray_TYPE
(
ndarray
arr
)
cdef
int
PyArray_NDIM
(
ndarray
arr
)
cdef
int
PyArray_NDIM
(
ndarray
arr
)
cdef
int
PyArray_ISWRITEABLE
(
ndarray
arr
)
cdef
int
PyArray_ISWRITEABLE
(
ndarray
arr
)
cdef
npy_intp
PyArray_STRIDES
(
ndarray
arr
)
cdef
npy_intp
*
PyArray_STRIDES
(
ndarray
arr
)
cdef
npy_intp
PyArray_DIMS
(
ndarray
arr
)
cdef
npy_intp
*
PyArray_DIMS
(
ndarray
arr
)
cdef
Py_ssize_
t
PyArray_ITEMSIZE
(
ndarray
arr
)
cdef
in
t
PyArray_ITEMSIZE
(
ndarray
arr
)
cdef
int
PyArray_CHKFLAGS
(
ndarray
arr
,
int
flags
)
cdef
int
PyArray_CHKFLAGS
(
ndarray
arr
,
int
flags
)
cdef
int
PyArray_HASFIELDS
(
ndarray
arr
,
int
flags
)
cdef
int
PyArray_HASFIELDS
(
ndarray
arr
,
int
flags
)
...
...
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