Commit b691f306 authored by gsamain's avatar gsamain

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

parent 9c7b7903
......@@ -2577,7 +2577,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