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

Function GetCodeFileNames

Tools/GenerateCode.py:112–118  ·  view source on GitHub ↗
(mod_name)

Source from the content-addressed store, hash-verified

110
111
112def GetCodeFileNames(mod_name):
113 if len(mod_name) < 6 or mod_name[:6] != 'libSce':
114 base_name = 'sce_' + mod_name.lower()
115 else:
116 base_name = 'sce_' + mod_name[6:].lower()
117
118 return base_name + '.h', base_name + '.cpp', base_name + '_export.cpp'
119
120def WriteHeadComment(dst, mod_name, lib_dic):
121 dst.write('/*' + '\n')

Callers 1

WriteCodeFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected