Commit bc407996 authored by gsamain's avatar gsamain

Rewire calls to constructor and destructor in cppclass

parent 3c4e11dd
......@@ -2525,6 +2525,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 PropertyScope(Scope):
# Scope holding the __get__, __set__ and __del__ methods for
......
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