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

Avoid reification of non cypclass (a specific flag will be added soon)

parent b2ccf904
......@@ -2685,7 +2685,7 @@ class CppClassScope(Scope):
def declare_cfunction(self, name, type, pos,
cname=None, visibility='extern', api=0, in_pxd=0,
defining=0, modifiers=(), utility_code=None, overridable=False):
reify = True
reify = self.type.is_cyp_class
class_name = self.name.split('::')[-1]
if name in (class_name, '__init__') and cname is None:
reify = False
......
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