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
d02cc4c5
Commit
d02cc4c5
authored
Jan 13, 2017
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use ANSI style comments for all generated code.
parent
3d4f7a19
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
Cython/Utility/Buffer.c
Cython/Utility/Buffer.c
+1
-1
Cython/Utility/Coroutine.c
Cython/Utility/Coroutine.c
+1
-1
Cython/Utility/ObjectHandling.c
Cython/Utility/ObjectHandling.c
+3
-3
Cython/Utility/Overflow.c
Cython/Utility/Overflow.c
+2
-2
No files found.
Cython/Utility/Buffer.c
View file @
d02cc4c5
...
...
@@ -162,7 +162,7 @@ static CYTHON_INLINE void __Pyx_SafeReleaseBuffer(Py_buffer* info);
static
const
char
*
__Pyx_BufFmt_CheckString
(
__Pyx_BufFmt_Context
*
ctx
,
const
char
*
ts
);
static
void
__Pyx_BufFmt_Init
(
__Pyx_BufFmt_Context
*
ctx
,
__Pyx_BufFmt_StackElem
*
stack
,
__Pyx_TypeInfo
*
type
);
/
/ PROTO
__Pyx_TypeInfo
*
type
);
/
* PROTO */
/////////////// BufferFormatCheck ///////////////
...
...
Cython/Utility/Coroutine.c
View file @
d02cc4c5
...
...
@@ -139,7 +139,7 @@ static CYTHON_INLINE PyObject* __Pyx_Coroutine_AIter_Yield_From(__pyx_CoroutineO
#if PY_VERSION_HEX < 0x030500B2
if
(
!
__Pyx_PyType_AsAsync
(
source
))
{
#ifdef __Pyx_Coroutine_USED
if
(
!
__Pyx_Coroutine_CheckExact
(
source
))
/
/ quickly rule out a likely case
if
(
!
__Pyx_Coroutine_CheckExact
(
source
))
/
* quickly rule out a likely case */
#endif
{
// same as above in slow
...
...
Cython/Utility/ObjectHandling.c
View file @
d02cc4c5
...
...
@@ -1620,8 +1620,8 @@ done:
Py_LeaveRecursiveCall
();
return
result
;
}
#endif /
/ CPython < 3.6
#endif /
/ CYTHON_FAST_PYCALL
#endif
/
* CPython < 3.6 */
#endif
/
* CYTHON_FAST_PYCALL */
/////////////// PyCFunctionFastCall.proto ///////////////
...
...
@@ -1652,7 +1652,7 @@ static CYTHON_INLINE PyObject * __Pyx_PyCFunction_FastCall(PyObject *func_obj, P
return
(
*
((
__Pyx_PyCFunctionFast
)
meth
))
(
self
,
args
,
nargs
,
NULL
);
}
#endif /
/ CYTHON_FAST_PYCCALL
#endif
/
* CYTHON_FAST_PYCCALL */
/////////////// PyObjectCallOneArg.proto ///////////////
...
...
Cython/Utility/Overflow.c
View file @
d02cc4c5
...
...
@@ -265,7 +265,7 @@ static CYTHON_INLINE {{TYPE}} __Pyx_{{BINOP}}_{{NAME}}_checking_overflow({{TYPE}
return
__Pyx_
{{
BINOP
}}
_unsigned_long_long_checking_overflow
(
a
,
b
,
overflow
);
#endif
}
else
{
abort
();
return
0
;
/
/ handled elsewhere
abort
();
return
0
;
/
* handled elsewhere */
}
}
else
{
if
(
sizeof
({{
TYPE
}})
==
sizeof
(
int
))
{
...
...
@@ -277,7 +277,7 @@ static CYTHON_INLINE {{TYPE}} __Pyx_{{BINOP}}_{{NAME}}_checking_overflow({{TYPE}
return
__Pyx_
{{
BINOP
}}
_long_long_checking_overflow
(
a
,
b
,
overflow
);
#endif
}
else
{
abort
();
return
0
;
/
/ handled elsewhere
abort
();
return
0
;
/
* handled elsewhere */
}
}
}
...
...
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