Commit 2a8a474c authored by Mark Florisson's avatar Mark Florisson

Always generate declarations for @cname decorated cdef functions

parent 73ff3fc0
...@@ -7789,6 +7789,7 @@ class CnameDecoratorNode(StatNode): ...@@ -7789,6 +7789,7 @@ class CnameDecoratorNode(StatNode):
if self.is_function: if self.is_function:
e.cname = self.cname e.cname = self.cname
e.func_cname = self.cname e.func_cname = self.cname
e.used = True
elif is_struct_or_enum: elif is_struct_or_enum:
e.cname = e.type.cname = self.cname e.cname = e.type.cname = self.cname
else: else:
......
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