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

Function dependencyLanguageSpecMacros

scripts/parse_dependency.py:287–291  ·  view source on GitHub ↗

Return dependency expression translated to a form suitable for comments in headers of emitted C code, as used by the interfacegenerator.

(dependency)

Source from the content-addressed store, hash-verified

285
286# aka specmacros = True
287def dependencyLanguageSpecMacros(dependency):
288 """Return dependency expression translated to a form suitable for
289 comments in headers of emitted C code, as used by the
290 interfacegenerator."""
291 return dependencyLanguage(dependency, leafMarkup = leafMarkupAsciidoc, opMarkup = opMarkupAsciidoc, parenthesize = False)
292
293def dependencyLanguageC(dependency):
294 """Return dependency expression translated to a form suitable for

Callers 2

writeNewInterfacesMethod · 0.90

Calls 1

dependencyLanguageFunction · 0.85

Tested by

no test coverage detected