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
0ffbe094
Commit
0ffbe094
authored
Mar 10, 2013
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix utility function name
parent
6f08cbb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Cython/Utility/ObjectHandling.c
Cython/Utility/ObjectHandling.c
+4
-4
No files found.
Cython/Utility/ObjectHandling.c
View file @
0ffbe094
...
@@ -430,9 +430,9 @@ static CYTHON_INLINE void __Pyx_crop_slice(Py_ssize_t* _start, Py_ssize_t* _stop
...
@@ -430,9 +430,9 @@ static CYTHON_INLINE void __Pyx_crop_slice(Py_ssize_t* _start, Py_ssize_t* _stop
}
}
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
static
CYTHON_INLINE
void
Pyx_copy_object_array
(
PyObject
**
restrict
src
,
PyObject
**
restrict
dest
,
Py_ssize_t
length
)
{
static
CYTHON_INLINE
void
__
Pyx_copy_object_array
(
PyObject
**
restrict
src
,
PyObject
**
restrict
dest
,
Py_ssize_t
length
)
{
#else
#else
static
CYTHON_INLINE
void
Pyx_copy_object_array
(
PyObject
**
src
,
PyObject
**
dest
,
Py_ssize_t
length
)
{
static
CYTHON_INLINE
void
__
Pyx_copy_object_array
(
PyObject
**
src
,
PyObject
**
dest
,
Py_ssize_t
length
)
{
#endif
#endif
PyObject
*
v
;
PyObject
*
v
;
Py_ssize_t
i
;
Py_ssize_t
i
;
...
@@ -453,7 +453,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyList_GetSlice(
...
@@ -453,7 +453,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyList_GetSlice(
dest
=
PyList_New
(
length
);
dest
=
PyList_New
(
length
);
if
(
unlikely
(
!
dest
))
if
(
unlikely
(
!
dest
))
return
NULL
;
return
NULL
;
Pyx_copy_object_array
(
__
Pyx_copy_object_array
(
((
PyListObject
*
)
src
)
->
ob_item
+
start
,
((
PyListObject
*
)
src
)
->
ob_item
+
start
,
((
PyListObject
*
)
dest
)
->
ob_item
,
((
PyListObject
*
)
dest
)
->
ob_item
,
length
);
length
);
...
@@ -471,7 +471,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyTuple_GetSlice(
...
@@ -471,7 +471,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyTuple_GetSlice(
dest
=
PyTuple_New
(
length
);
dest
=
PyTuple_New
(
length
);
if
(
unlikely
(
!
dest
))
if
(
unlikely
(
!
dest
))
return
NULL
;
return
NULL
;
Pyx_copy_object_array
(
__
Pyx_copy_object_array
(
((
PyTupleObject
*
)
src
)
->
ob_item
+
start
,
((
PyTupleObject
*
)
src
)
->
ob_item
+
start
,
((
PyTupleObject
*
)
dest
)
->
ob_item
,
((
PyTupleObject
*
)
dest
)
->
ob_item
,
length
);
length
);
...
...
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