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

Give wrapper func_cname even in pxds

parent f31240a4
...@@ -2610,8 +2610,7 @@ class CppClassScope(Scope): ...@@ -2610,8 +2610,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