MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / __init__

Method __init__

scripts/generators/api_dump_generator.py:232–233  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

230 Note - be sure to call add_guard(None) when done to add a trailing #endif if needed
231 """
232 def __init__(self):
233 self.current_guard = None
234
235 def add_guard(self, generator, guard):
236 if self.current_guard != guard and self.current_guard is not None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected