Use _get_arg_type_string when stringifying function return type
This commit is contained in:
parent
f95d68f3d2
commit
8d0c731b72
@ -147,7 +147,7 @@ class CFunc:
|
|||||||
if i + 1 < len(self.args):
|
if i + 1 < len(self.args):
|
||||||
args += ", "
|
args += ", "
|
||||||
|
|
||||||
return qualifiers + str(self.ret_type) + " " + str(self.pointer) + self.name + f"({args})"
|
return qualifiers + _get_arg_type_string(self.ret_type) + str(self.pointer) + self.name + f"({args})"
|
||||||
|
|
||||||
def declare(self) -> str:
|
def declare(self) -> str:
|
||||||
return f"{str(self)};\n"
|
return f"{str(self)};\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user