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

Function SortDic

Tools/GenerateCode.py:93–102  ·  view source on GitHub ↗
(imp_mods)

Source from the content-addressed store, hash-verified

91 break
92
93def SortDic(imp_mods):
94
95 def TakeFunc(elem):
96 return elem[1]
97
98 for mod_name in imp_mods:
99 lib_dic = imp_mods[mod_name]
100 for lib_name in lib_dic:
101 func_list = lib_dic[lib_name]
102 func_list.sort(key = TakeFunc)
103
104def GetModFolderName(mod_name):
105 if len(mod_name) < 6 or mod_name[:6] != 'libSce':

Callers 1

MainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected