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
833577c5
Commit
833577c5
authored
Jun 19, 2019
by
gsamain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless node injection for CyObjects (we only need type injection)
parent
f0ef8c92
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
Cython/Compiler/Nodes.py
Cython/Compiler/Nodes.py
+2
-9
No files found.
Cython/Compiler/Nodes.py
View file @
833577c5
...
...
@@ -1536,16 +1536,9 @@ class CppClassNode(CStructOrUnionDefNode, BlockNode):
if
self
.
cypclass
:
cyobject_base
=
False
for
base_type
in
base_types_list
:
cyobject_base
=
cyobject_base
or
base_type
is
cy_object_type
or
base_type
.
is_cyp_class
cyobject_base
=
cyobject_base
or
base_type
.
is_cyp_class
if
not
cyobject_base
:
cyobject_class
=
CSimpleBaseTypeNode
(
self
.
pos
,
name
=
"cyobject"
,
module_path
=
[],
is_basic_c_type
=
0
,
signed
=
0
,
complex
=
0
,
longness
=
0
,
is_self_arg
=
0
,
templates
=
None
)
self
.
base_classes
.
append
(
cyobject_class
)
base_types_list
.
append
(
cyobject_class
.
analyse
(
scope
or
env
))
base_types_list
.
append
(
cy_object_type
)
base_class_types
=
filter
(
base_ok
,
base_types_list
)
self
.
entry
=
env
.
declare_cpp_class
(
self
.
name
,
scope
,
self
.
pos
,
...
...
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