MCPcopy Index your code
hub / github.com/KhronosGroup/Vulkan-Docs / makeAPIInclude

Function makeAPIInclude

scripts/genRef.py:92–99  ·  view source on GitHub ↗

Return an include command for a generated API interface - type - type of the API, e.g. 'flags', 'handles', etc - name - name of the API

(type, name)

Source from the content-addressed store, hash-verified

90
91
92def makeAPIInclude(type, name):
93 """Return an include command for a generated API interface
94 - type - type of the API, e.g. 'flags', 'handles', etc
95 - name - name of the API"""
96
97 return 'include::{}/api/{}/{}{}\n'.format(
98 conventions.generated_include_path,
99 type, name, conventions.file_suffix)
100
101
102def isextension(name):

Callers 2

autoGenFlagsPageFunction · 0.85
autoGenHandlePageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected