MCPcopy
hub / github.com/KhronosGroup/Vulkan-Docs / paramIsPointer

Method paramIsPointer

scripts/generator.py:1338–1344  ·  view source on GitHub ↗

Check if the parameter passed in is a pointer. param the XML information for the param

(self, param)

Source from the content-addressed store, hash-verified

1336 return param.get('len') is not None
1337
1338 def paramIsPointer(self, param):
1339 """Check if the parameter passed in is a pointer.
1340
1341 param the XML information for the param
1342 """
1343 tail = param.find('type').tail
1344 return tail is not None and '*' in tail
1345
1346 def isEnumRequired(self, elem):
1347 """Return True if this `<enum>` element is

Calls

no outgoing calls

Tested by

no test coverage detected