return moduleInfos
return {}
+def loadModuleInfosDict(path):
+ moduleInfosDict = {}
+ for filename, path in findDefinitions("*.h", path):
+ moduleInfosDict.update(loadModuleInfos(path + "/" + filename))
+ return moduleInfosDict
+
def loadDefineLists(path):
"""
Return a dict with the name of the list as key and a list of string as value
if index != -1:
exec(comment[index + 1:])
listDict.update(WIZARD_LIST)
- return listDict
\ No newline at end of file
+ return listDict
+
+def loadDefineListsDict(path):
+ defineListsDict = {}
+ for filename, path in findDefinitions("*.h", path):
+ defineListsDict.update(loadDefineLists(path + "/" + filename))
+ return defineListsDict
\ No newline at end of file