MCPcopy Create free account
hub / github.com/Inori/GPCS4 / WriteOneImpl

Function WriteOneImpl

Tools/GenerateCode.py:149–159  ·  view source on GitHub ↗
(dst, func_name, nid)

Source from the content-addressed store, hash-verified

147 dst.write('\n')
148
149def WriteOneImpl(dst, func_name, nid):
150 if not func_name:
151 func_name = FuncNameByNid(nid)
152
153 func_impl = 'int PS4API {}(void)'.format(func_name)
154 dst.write(func_impl + '\n')
155 dst.write('{' + '\n')
156 dst.write('\tLOG_FIXME("Not implemented");' + '\n')
157 dst.write('\treturn SCE_OK;' + '\n')
158 dst.write('}' + '\n')
159 dst.write('\n')
160
161def WriteDeclaration(dst, func_list):
162 for nid, func_name in func_list:

Callers 1

WriteDefinationFunction · 0.85

Calls 3

FuncNameByNidFunction · 0.85
formatMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected