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

Method generate_function_pointer

tools/api.py:185–187  ·  view source on GitHub ↗
(self, name: Optional[str] = None)

Source from the content-addressed store, hash-verified

183 return self.substitute(header_function, export_c_macro=export_c_macro)
184
185 def generate_function_pointer(self, name: Optional[str] = None) -> str:
186 return self.substitute(function_pointer_typedef,
187 fname=name or self.name)
188
189 def generate_body(self) -> str:
190 return self.substitute(c_api_impl)

Callers 1

generateMethod · 0.80

Calls 1

substituteMethod · 0.95

Tested by

no test coverage detected