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
58237a15
Commit
58237a15
authored
Aug 18, 2020
by
Xavier Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow back 'cppclass' in non-c++ environments but keep disallowing cypclass
parent
37551e27
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Cython/Compiler/Nodes.py
Cython/Compiler/Nodes.py
+4
-2
No files found.
Cython/Compiler/Nodes.py
View file @
58237a15
...
...
@@ -1510,9 +1510,11 @@ class CppClassNode(CStructOrUnionDefNode, BlockNode):
scope
=
None
template_types
=
None
cpp_message
=
"Cypclass"
def
declare
(
self
,
env
):
if
not
env
.
is_cpp
()
:
error
(
self
.
pos
,
"Could not use cppclass in a c-only environment !"
)
if
self
.
cypclass
:
self
.
cpp_check
(
env
)
if
self
.
templates
is
None
:
template_types
=
None
else
:
...
...
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