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
b65f48f9
Commit
b65f48f9
authored
Jan 07, 2014
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cimported name mangling.
parent
c7429c09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Cython/Compiler/Pipeline.py
Cython/Compiler/Pipeline.py
+4
-0
No files found.
Cython/Compiler/Pipeline.py
View file @
b65f48f9
...
...
@@ -6,6 +6,7 @@ import DebugFlags
import
Options
from
Visitor
import
CythonTransform
from
Errors
import
CompileError
,
InternalError
,
AbortError
import
Naming
#
# Really small pipeline stages
...
...
@@ -279,6 +280,9 @@ def create_pyx_as_pxd_pipeline(context, result):
for
entry
in
root
.
scope
.
entries
.
values
():
if
not
entry
.
in_cinclude
:
entry
.
defined_in_pxd
=
1
if
entry
.
name
==
entry
.
cname
and
entry
.
visibility
!=
'extern'
:
# Always mangle non-extern cimported entries.
entry
.
cname
=
entry
.
scope
.
mangle
(
Naming
.
func_prefix
,
entry
.
name
)
return
StatListNode
(
root
.
pos
,
stats
=
[]),
root
.
scope
pipeline
.
append
(
fake_pxd
)
return
pipeline
...
...
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