aboutsummaryrefslogtreecommitdiffhomepage
path: root/registry/generator.py
diff options
context:
space:
mode:
authorJon Leech <[email protected]>2022-07-28 04:36:37 -0700
committerJon Leech <[email protected]>2022-07-28 04:37:50 -0700
commitff92049ebd7e2f7013bb9d3b0450097561cee352 (patch)
treeecc04d44961a8c70e7fa41760bbf6f7234a6c61e /registry/generator.py
parent87d2aa9d77bc979559c2d4adabe5b12bb1d49d51 (diff)
downloadVulkan-Headers-ff92049ebd7e2f7013bb9d3b0450097561cee352.tar.gz
Vulkan-Headers-ff92049ebd7e2f7013bb9d3b0450097561cee352.zip
Update for Vulkan-Docs 1.3.223v1.3.223
Diffstat (limited to 'registry/generator.py')
-rw-r--r--registry/generator.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/registry/generator.py b/registry/generator.py
index 03ef36c..8166dfe 100644
--- a/registry/generator.py
+++ b/registry/generator.py
@@ -174,7 +174,7 @@ class GeneratorOptions:
an object that implements ConventionsBase
- filename - basename of file to generate, or None to write to stdout.
- directory - directory in which to generate filename
- - genpath - path to previously generated files, such as api.py
+ - genpath - path to previously generated files, such as apimap.py
- apiname - string matching `<api>` 'apiname' attribute, e.g. 'gl'.
- profile - string specifying API profile , e.g. 'core', or None.
- versions - regex matching API versions to process interfaces for.
@@ -221,7 +221,7 @@ class GeneratorOptions:
"basename of file to generate, or None to write to stdout."
self.genpath = genpath
- """path to previously generated files, such as api.py"""
+ """path to previously generated files, such as apimap.py"""
self.directory = directory
"directory in which to generate filename"
@@ -864,14 +864,14 @@ class OutputGenerator:
self.should_insert_may_alias_macro = \
self.genOpts.conventions.should_insert_may_alias_macro(self.genOpts)
- # Try to import the API dictionary, api.py, if it exists. Nothing in
- # api.py cannot be extracted directly from the XML, and in the
+ # Try to import the API dictionary, apimap.py, if it exists. Nothing
+ # in apimap.py cannot be extracted directly from the XML, and in the
# future we should do that.
if self.genOpts.genpath is not None:
try:
sys.path.insert(0, self.genOpts.genpath)
- import api
- self.apidict = api
+ import apimap
+ self.apidict = apimap
except ImportError:
self.apidict = None