Commit 106b8c02 authored by gsamain's avatar gsamain Committed by Xavier Thompson

Cpp: Rewire calls to constructor and destructor in cppclass

parent 8970c94d
......@@ -2632,6 +2632,13 @@ class CppClassScope(Scope):
return scope
def lookup_here(self, name):
if name == "__init__":
name = "<init>"
elif name == "__dealloc__":
name = "<del>"
return super(CppClassScope, self).lookup_here(name)
class CppScopedEnumScope(Scope):
# Namespace of a ScopedEnum
......
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