Commit fd50d63f authored by Robert Bradshaw's avatar Robert Bradshaw

Remove experimental flag for C++ class defs.

parent 51dbca9b
...@@ -1320,8 +1320,6 @@ class CppClassNode(CStructOrUnionDefNode, BlockNode): ...@@ -1320,8 +1320,6 @@ class CppClassNode(CStructOrUnionDefNode, BlockNode):
# templates [string] or None # templates [string] or None
def declare(self, env): def declare(self, env):
if self.visibility != 'extern' and not env.directives['experimental_cpp_class_def']:
error(self.pos, "C++ classes need to be declared extern unless experimental_cpp_class_def enabled")
if self.templates is None: if self.templates is None:
template_types = None template_types = None
else: else:
......
...@@ -141,7 +141,6 @@ directive_defaults = { ...@@ -141,7 +141,6 @@ directive_defaults = {
# experimental, subject to change # experimental, subject to change
'binding': None, 'binding': None,
'experimental_cpp_class_def': False,
'freelist': 0, 'freelist': 0,
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment