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

Method paramIsArray

scripts/generator.py:1331–1336  ·  view source on GitHub ↗

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

(self, param)

Source from the content-addressed store, hash-verified

1329 return True
1330
1331 def paramIsArray(self, param):
1332 """Check if the parameter passed in is a pointer to an array.
1333
1334 param the XML information for the param
1335 """
1336 return param.get('len') is not None
1337
1338 def paramIsPointer(self, param):
1339 """Check if the parameter passed in is a pointer.

Calls 1

getMethod · 0.45

Tested by

no test coverage detected