MCPcopy Create free account
hub / github.com/IENT/YUView / argumentsToString

Function argumentsToString

tools/standardTextToCode/writeTablesC++.py:77–84  ·  view source on GitHub ↗
(arguments, variableType = "")

Source from the content-addressed store, hash-verified

75 self.f.write(s)
76
77def argumentsToString(arguments, variableType = ""):
78 s = ""
79 if (variableType != ""):
80 variableType += " "
81 newList = [x for x in arguments if x.strip() != ""]
82 for i, arg in enumerate(newList):
83 s += f", {variableType}{arg}"
84 return s
85
86def writeBeginningToHeader(table, file):
87 file.write(f"class {table.name} : public NalRBSP\n")

Callers 2

writeBeginningToHeaderFunction · 0.85
writeItemToFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected