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
Boxiang Sun
cython
Commits
d6190df0
Commit
d6190df0
authored
Sep 26, 2016
by
Isuru Fernando
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typedefs inside typedefs are not external
Use create_typedef_type instead of creating directly
parent
439c7b83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Cython/Compiler/PyrexTypes.py
Cython/Compiler/PyrexTypes.py
+2
-2
No files found.
Cython/Compiler/PyrexTypes.py
View file @
d6190df0
...
@@ -395,8 +395,8 @@ class CTypedefType(BaseType):
...
@@ -395,8 +395,8 @@ class CTypedefType(BaseType):
if
base_type
is
self
.
typedef_base_type
and
namespace
is
self
.
typedef_namespace
:
if
base_type
is
self
.
typedef_base_type
and
namespace
is
self
.
typedef_namespace
:
return
self
return
self
else
:
else
:
return
CTypedefT
ype
(
self
.
typedef_name
,
base_type
,
self
.
typedef_cname
,
return
create_typedef_t
ype
(
self
.
typedef_name
,
base_type
,
self
.
typedef_cname
,
self
.
typedef_is_external
,
namespace
)
0
,
namespace
)
def
__repr__
(
self
):
def
__repr__
(
self
):
return
"<CTypedefType %s>"
%
self
.
typedef_cname
return
"<CTypedefType %s>"
%
self
.
typedef_cname
...
...
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