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

Function WriteExpTabExtern

Tools/GenerateCode.py:179–181  ·  view source on GitHub ↗
(dst, mod_name)

Source from the content-addressed store, hash-verified

177
178# extern SCE_EXPORT_MODULE g_ExpModuleSceLibc;
179def WriteExpTabExtern(dst, mod_name):
180 var_name = GetExpModuleName(mod_name)
181 dst.write('extern const SCE_EXPORT_MODULE {};\n'.format(var_name))
182
183def GetFuncTableName(mod_name, lib_name):
184 func_tab_name = 'g_p{}_{}_FunctionTable'.format(mod_name, lib_name)

Callers 1

WriteSourceFilesFunction · 0.85

Calls 3

GetExpModuleNameFunction · 0.85
writeMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected