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

Method setModuleName

src/ast/ast_module.cpp:103–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 }
102
103 void Module::setModuleName ( const string & n ) {
104 name = n;
105 nameHash = hash64z(n.c_str());
106 }
107
108 void Module::addBuiltinDependency ( ModuleLibrary & lib, Module * m, bool pub ) {
109 DAS_ASSERTF(m, "Trying to add nullptr module.");

Callers 3

renameModuleMethod · 0.80
serializeProgramMethod · 0.80
serializeMethod · 0.80

Calls 2

hash64zFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected