Commit f64d78df authored by gsamain's avatar gsamain

Give wrapper func_cname even in pxds

parent 9869daa1
...@@ -2502,8 +2502,7 @@ class CppClassScope(Scope): ...@@ -2502,8 +2502,7 @@ class CppClassScope(Scope):
pos, 'extern') pos, 'extern')
wrapper_type.entry = wrapper_entry wrapper_type.entry = wrapper_entry
wrapper_entry.is_cfunction = 1 wrapper_entry.is_cfunction = 1
if defining: wrapper_entry.func_cname = "%s::%s" % (class_type.empty_declaration_code(), wrapper_cname)
wrapper_entry.func_cname = "%s::%s" % (class_type.empty_declaration_code(), wrapper_cname)
return wrapper_entry return wrapper_entry
def declare_cfunction(self, name, type, pos, def declare_cfunction(self, name, type, pos,
......
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