MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / load_generator

Function load_generator

tools/meta_codegen/framework/old_framework.py:168–172  ·  view source on GitHub ↗
(i, path)

Source from the content-addressed store, hash-verified

166
167
168def load_generator(i, path):
169 spec = importlib.util.spec_from_file_location("Generator%d" % i, path)
170 module = importlib.util.module_from_spec(spec)
171 spec.loader.exec_module(module)
172 return getattr(module, "Generator")()
173
174
175def generate(codegen_config: config.CodegenConfig, generate_manager: generator.GenerateManager):

Callers 1

generateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected