From ff92049ebd7e2f7013bb9d3b0450097561cee352 Mon Sep 17 00:00:00 2001 From: Jon Leech <4693344+oddhack@users.noreply.github.com> Date: Thu, 28 Jul 2022 04:36:37 -0700 Subject: Update for Vulkan-Docs 1.3.223 --- registry/generator.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'registry/generator.py') 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 `` '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 -- cgit v1.2.3