MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / enum_end

Method enum_end

utils/generate_language_headers.py:144–145  ·  view source on GitHub ↗
(self, prefix, enum)

Source from the content-addressed store, hash-verified

142 return 'enum {}{} {}'.format(prefix, name, '{')
143
144 def enum_end(self, prefix, enum):
145 return ' {}{}Max = 0x7ffffff\n{};\n'.format(prefix, enum, '}')
146
147 def cpp_guard_preamble(self):
148 return '#ifdef __cplusplus\nextern "C" {\n#endif\n'

Callers 1

generateMethod · 0.80

Calls 1

formatMethod · 0.80

Tested by

no test coverage detected