Fixed rendering of function pointer

This commit is contained in:
kevstone 2024-01-20 23:27:28 +00:00
parent 5912873c04
commit 36b9500011
1 changed files with 1 additions and 1 deletions

View File

@ -17,4 +17,4 @@ class FuncSigPointer(funcsig.FuncSig):
super().__init__(return_type, name, args)
def as_lines(self):
return [f"{self._func_arg.decl_spec.as_string()} (*{self._func_arg.name})({', '.join([a.as_string() for a in self.args if a])})"]
return [f"{self._func_arg.decl_spec.as_string()} (*{self._func_arg.name})({', '.join([a.as_string() for a in self.args if a])});"]