Use _get_arg_type_string when stringifying function return type
This commit is contained in:
		@@ -147,7 +147,7 @@ class CFunc:
 | 
			
		||||
            if i + 1 < len(self.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:
 | 
			
		||||
        return f"{str(self)};\n"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user