MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / findRttiModule

Function findRttiModule

src/builtin/module_builtin_ast.cpp:246–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244 }
245
246 Module * findRttiModule ( smart_ptr<Program> THAT_PROGRAM, const char * name, Context *, LineInfoArg *) {
247 name = name ? name : "";
248 auto found = THAT_PROGRAM->library.findModule(name);
249 return found ? found : Module::require(name);
250 }
251
252 AnnotationPtr module_find_annotation ( const Module* module, const char *name ) {
253 return module->findAnnotation(name);

Callers

nothing calls this directly

Calls 1

findModuleMethod · 0.80

Tested by

no test coverage detected