Commit b2b9b7c5 authored by gsamain's avatar gsamain

Rewire calls to constructor and destructor in cppclass

parent 1ae69ef8
......@@ -2528,6 +2528,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