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
Xavier Thompson
cython
Commits
267858d2
Commit
267858d2
authored
7 years ago
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove "inline" marker from non-critical helper function.
parent
66d2d95a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Cython/Compiler/ExprNodes.py
Cython/Compiler/ExprNodes.py
+2
-3
Cython/Utility/CythonFunction.c
Cython/Utility/CythonFunction.c
+2
-2
No files found.
Cython/Compiler/ExprNodes.py
View file @
267858d2
...
...
@@ -8833,9 +8833,6 @@ class ClassCellInjectorNode(ExprNode):
is_active
=
False
def
analyse_expressions
(
self
,
env
):
if
self
.
is_active
:
env
.
use_utility_code
(
UtilityCode
.
load_cached
(
"CyFunctionClassCell"
,
"CythonFunction.c"
))
return
self
def
generate_evaluation_code
(
self
,
code
):
...
...
@@ -8849,6 +8846,8 @@ class ClassCellInjectorNode(ExprNode):
def
generate_injection_code
(
self
,
code
,
classobj_cname
):
if
self
.
is_active
:
code
.
globalstate
.
use_utility_code
(
UtilityCode
.
load_cached
(
"CyFunctionClassCell"
,
"CythonFunction.c"
))
code
.
put_error_if_neg
(
self
.
pos
,
'__Pyx_CyFunction_InitClassCell(%s, %s)'
%
(
self
.
result
(),
classobj_cname
))
...
...
This diff is collapsed.
Click to expand it.
Cython/Utility/CythonFunction.c
View file @
267858d2
...
...
@@ -761,12 +761,12 @@ static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *func, Py
}
//////////////////// CyFunctionClassCell.proto ////////////////////
static
CYTHON_INLINE
int
__Pyx_CyFunction_InitClassCell
(
PyObject
*
cyfunctions
,
PyObject
*
classobj
);
static
int
__Pyx_CyFunction_InitClassCell
(
PyObject
*
cyfunctions
,
PyObject
*
classobj
);
/*proto*/
//////////////////// CyFunctionClassCell ////////////////////
//@requires: CythonFunction
static
CYTHON_INLINE
int
__Pyx_CyFunction_InitClassCell
(
PyObject
*
cyfunctions
,
PyObject
*
classobj
)
{
static
int
__Pyx_CyFunction_InitClassCell
(
PyObject
*
cyfunctions
,
PyObject
*
classobj
)
{
Py_ssize_t
i
,
count
=
PyList_GET_SIZE
(
cyfunctions
);
for
(
i
=
0
;
i
<
count
;
i
++
)
{
...
...
This diff is collapsed.
Click to expand it.
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