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
2eb51aab
Commit
2eb51aab
authored
Aug 30, 2016
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
repair extern cpdef functions
parent
90dce013
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Cython/Compiler/ExprNodes.py
Cython/Compiler/ExprNodes.py
+2
-1
No files found.
Cython/Compiler/ExprNodes.py
View file @
2eb51aab
...
...
@@ -1879,7 +1879,8 @@ class NameNode(AtomicExprNode):
entry
=
self
.
entry
if
entry
.
is_cfunction
and
entry
.
as_variable
:
if
entry
.
type
.
is_overridable
or
not
self
.
is_lvalue
()
and
entry
.
fused_cfunction
:
# FIXME: unify "is_overridable" flags below
if
(
entry
.
is_overridable
or
entry
.
type
.
is_overridable
)
or
not
self
.
is_lvalue
()
and
entry
.
fused_cfunction
:
# We need this for assigning to cpdef names and for the fused 'def' TreeFragment
entry
=
self
.
entry
=
entry
.
as_variable
self
.
type
=
entry
.
type
...
...
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