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
Gwenaël Samain
cython
Commits
cebb58ce
Commit
cebb58ce
authored
Apr 10, 2015
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor utility code cleanup to avoid duplication
parent
9817e3ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
Cython/Utility/ObjectHandling.c
Cython/Utility/ObjectHandling.c
+3
-4
No files found.
Cython/Utility/ObjectHandling.c
View file @
cebb58ce
...
@@ -480,12 +480,11 @@ static CYTHON_INLINE int __Pyx_PyObject_SetSlice(
...
@@ -480,12 +480,11 @@ static CYTHON_INLINE int __Pyx_PyObject_SetSlice(
/////////////// SliceObject ///////////////
/////////////// SliceObject ///////////////
{{
if
access
==
'
Get
'
}}
{{
if
access
==
'
Get
'
}}
static
CYTHON_INLINE
PyObject
*
__Pyx_PyObject_GetSlice
(
static
CYTHON_INLINE
PyObject
*
__Pyx_PyObject_GetSlice
(
PyObject
*
obj
,
PyObject
*
obj
,
Py_ssize_t
cstart
,
Py_ssize_t
cstop
,
{{
else
}}
{{
else
}}
static
CYTHON_INLINE
int
__Pyx_PyObject_SetSlice
(
static
CYTHON_INLINE
int
__Pyx_PyObject_SetSlice
(
PyObject
*
obj
,
PyObject
*
value
,
PyObject
*
obj
,
PyObject
*
value
,
Py_ssize_t
cstart
,
Py_ssize_t
cstop
,
{{
endif
}}
{{
endif
}}
Py_ssize_t
cstart
,
Py_ssize_t
cstop
,
PyObject
**
_py_start
,
PyObject
**
_py_stop
,
PyObject
**
_py_slice
,
PyObject
**
_py_start
,
PyObject
**
_py_stop
,
PyObject
**
_py_slice
,
int
has_cstart
,
int
has_cstop
,
CYTHON_NCP_UNUSED
int
wraparound
)
{
int
has_cstart
,
int
has_cstop
,
CYTHON_NCP_UNUSED
int
wraparound
)
{
#if CYTHON_COMPILING_IN_CPYTHON
#if CYTHON_COMPILING_IN_CPYTHON
...
...
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