Commit 64060593 authored by gsamain's avatar gsamain Committed by Xavier Thompson

Cpp: Rewire calls to constructor and destructor in cppclass

parent 2ffcb6a0
......@@ -2626,6 +2626,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