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
c20e8c19
Commit
c20e8c19
authored
Jun 07, 2017
by
Jeroen Demeyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't use __Pyx_PyObject_CallMethO on cyfunctions
parent
0898a2f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
Cython/Utility/ObjectHandling.c
Cython/Utility/ObjectHandling.c
+0
-4
No files found.
Cython/Utility/ObjectHandling.c
View file @
c20e8c19
...
@@ -1686,11 +1686,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObjec
...
@@ -1686,11 +1686,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObjec
return
__Pyx_PyFunction_FastCall
(
func
,
&
arg
,
1
);
return
__Pyx_PyFunction_FastCall
(
func
,
&
arg
,
1
);
}
}
#endif
#endif
#ifdef __Pyx_CyFunction_USED
if
(
likely
(
PyCFunction_Check
(
func
)
||
PyObject_TypeCheck
(
func
,
__pyx_CyFunctionType
)))
{
#else
if
(
likely
(
PyCFunction_Check
(
func
)))
{
if
(
likely
(
PyCFunction_Check
(
func
)))
{
#endif
if
(
likely
(
PyCFunction_GET_FLAGS
(
func
)
&
METH_O
))
{
if
(
likely
(
PyCFunction_GET_FLAGS
(
func
)
&
METH_O
))
{
// fast and simple case that we are optimising for
// fast and simple case that we are optimising for
return
__Pyx_PyObject_CallMethO
(
func
,
arg
);
return
__Pyx_PyObject_CallMethO
(
func
,
arg
);
...
...
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