MCPcopy Index your code
hub / github.com/KhronosGroup/Vulkan-Docs / addName

Method addName

scripts/scriptgenerator.py:154–157  ·  view source on GitHub ↗

Add a string entry to the dictionary, quoting it so it gets printed out correctly in self.endFile().

(self, dict, name, value)

Source from the content-addressed store, hash-verified

152 OutputGenerator.endFeature(self)
153
154 def addName(self, dict, name, value):
155 """Add a string entry to the dictionary, quoting it so it gets
156 printed out correctly in self.endFile()."""
157 dict[name] = value
158
159 def addMapping(self, baseType, refType):
160 """Add a mapping between types to mapDict.

Callers 5

genTypeMethod · 0.95
genStructMethod · 0.95
genGroupMethod · 0.95
genEnumMethod · 0.95
genCmdMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected