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

Method makeProtoName

scripts/generator.py:1128–1136  ·  view source on GitHub ↗

Turn a ` ` ` ` into C-language prototype and typedef declarations for that name. - name - contents of ` ` tag - tail - whatever text follows that tag in the Element

(self, name, tail)

Source from the content-addressed store, hash-verified

1126 return
1127
1128 def makeProtoName(self, name, tail):
1129 """Turn a `<proto>` `<name>` into C-language prototype
1130 and typedef declarations for that name.
1131
1132 - name - contents of `<name>` tag
1133 - tail - whatever text follows that tag in the Element"""
1134 if self.genOpts is None:
1135 raise MissingGeneratorOptionsError()
1136 return self.genOpts.apientry + name + tail
1137
1138 def makeTypedefName(self, name, tail, isfuncpointer):
1139 """Make the function-pointer typedef name for a command or

Callers 2

makeCDeclsMethod · 0.95
makeStubMethod · 0.80

Calls 1

Tested by

no test coverage detected