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
Kirill Smelkov
cython
Commits
041d2f7c
Commit
041d2f7c
authored
Apr 10, 2015
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avoid some C compiler warnings in pypy
parent
9d320da0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Cython/Utility/ObjectHandling.c
Cython/Utility/ObjectHandling.c
+3
-3
No files found.
Cython/Utility/ObjectHandling.c
View file @
041d2f7c
...
...
@@ -362,7 +362,7 @@ static CYTHON_INLINE int __Pyx_SetItemInt_Generic(PyObject *o, PyObject *j, PyOb
}
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
,
CYTHON_UNUSED
int
wraparound
,
CYTHON_UNUSED
int
boundscheck
)
{
#if CYTHON_COMPILING_IN_CPYTHON
if
(
is_list
||
PyList_CheckExact
(
o
))
{
Py_ssize_t
n
=
(
!
wraparound
)
?
i
:
((
likely
(
i
>=
0
))
?
i
:
i
+
PyList_GET_SIZE
(
o
));
...
...
@@ -415,7 +415,7 @@ static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObje
static
CYTHON_INLINE
int
__Pyx_DelItem_Generic
(
PyObject
*
o
,
PyObject
*
j
);
static
CYTHON_INLINE
int
__Pyx_DelItemInt_Fast
(
PyObject
*
o
,
Py_ssize_t
i
,
CYTHON_UNUSED
int
is_list
,
int
wraparound
);
int
is_list
,
int
wraparound
);
/////////////// DelItemInt ///////////////
...
...
@@ -428,7 +428,7 @@ static CYTHON_INLINE int __Pyx_DelItem_Generic(PyObject *o, PyObject *j) {
}
static
CYTHON_INLINE
int
__Pyx_DelItemInt_Fast
(
PyObject
*
o
,
Py_ssize_t
i
,
CYTHON_UNUSED
int
is_list
,
int
wraparound
)
{
CYTHON_UNUSED
int
is_list
,
CYTHON_UNUSED
int
wraparound
)
{
#if CYTHON_COMPILING_IN_PYPY
if
(
is_list
||
PySequence_Check
(
o
))
{
return
PySequence_DelItem
(
o
,
i
);
...
...
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