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
Gwenaël Samain
cython
Commits
b819cfb6
Commit
b819cfb6
authored
Apr 24, 2019
by
gsamain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CppClassType set_scope method
parent
43f347b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
Cython/Compiler/PyrexTypes.py
Cython/Compiler/PyrexTypes.py
+5
-0
No files found.
Cython/Compiler/PyrexTypes.py
View file @
b819cfb6
...
@@ -3800,6 +3800,11 @@ class CppClassType(CType):
...
@@ -3800,6 +3800,11 @@ class CppClassType(CType):
return
1
return
1
return
0
return
0
def
set_scope
(
self
,
scope
):
self
.
scope
=
scope
if
scope
:
scope
.
parent_type
=
self
def
subclass_dist
(
self
,
super_type
):
def
subclass_dist
(
self
,
super_type
):
if
self
.
same_as_resolved_type
(
super_type
):
if
self
.
same_as_resolved_type
(
super_type
):
return
0
return
0
...
...
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