MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / get_return_declarations

Method get_return_declarations

tools/api.py:581–588  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

579 [p.cpp_param(self.prefix) for p in self.get_function_params()])
580
581 def get_return_declarations(self) -> str:
582 if self.function.returns:
583 return '\n '.join([
584 d
585 for d in self.function.returns.output_declarations(self.prefix)
586 ])
587 else:
588 return ''
589
590 def get_result(self):
591 return self.function.returns.input(self.prefix)

Callers 1

generate_methodMethod · 0.95

Calls 1

output_declarationsMethod · 0.80

Tested by

no test coverage detected