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

Function WriteOneDecl

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

Source from the content-addressed store, hash-verified

139 return func_name
140
141def WriteOneDecl(dst, func_name, nid):
142 if not func_name:
143 func_name = FuncNameByNid(nid)
144
145 func_decl = 'int PS4API {}(void);'.format(func_name)
146 dst.write(func_decl + '\n')
147 dst.write('\n')
148
149def WriteOneImpl(dst, func_name, nid):
150 if not func_name:

Callers 1

WriteDeclarationFunction · 0.85

Calls 3

FuncNameByNidFunction · 0.85
formatMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected