MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / striparraysuffix

Function striparraysuffix

codegen/api_shared.py:83–88  ·  view source on GitHub ↗
(thetype)

Source from the content-addressed store, hash-verified

81 return thetype
82
83def striparraysuffix(thetype):
84 if(thetype[len(thetype) - 1] == ']'):
85 thetype = thetype[0:thetype.find('[')-1]
86 if(thetype == '_Bool'):
87 thetype = 'bool'
88 return thetype
89
90def converttype(thetype):
91 if(thetype[0:11] == 'struct vr::'):

Callers 1

OutputStructFieldsFunction · 0.85

Calls 1

findMethod · 0.80

Tested by

no test coverage detected