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

Function generate_c_api_body

tools/api.py:711–715  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

709
710
711def generate_c_api_body() -> str:
712 process_functions()
713 return generate_lines(
714 c_api_body_preamble +
715 [f.get_cfunction().generate_body() for f in functions])
716
717
718def generate_cpp_header() -> str:

Callers 2

api.pyFile · 0.85
api.cppFile · 0.85

Calls 4

process_functionsFunction · 0.85
generate_linesFunction · 0.85
generate_bodyMethod · 0.80
get_cfunctionMethod · 0.80

Tested by

no test coverage detected