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

Method addToModule

src/ast/ast.cpp:1005–1011  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1003 }
1004
1005 FunctionPtr Function::addToModule ( Module & mod, SideEffects seFlags ) {
1006 setSideEffects(seFlags);
1007 if (!mod.addFunction(this)) {
1008 DAS_FATAL_ERROR("addExtern(%s) failed in module %s\n", name.c_str(), mod.name.c_str());
1009 }
1010 return this;
1011 }
1012
1013 Function * Function::getOriginPtr() const {
1014 if ( fromGeneric ) {

Callers 15

initFunctions_1Method · 0.80
initFunctions_2Method · 0.80
initFunctions_4Method · 0.80
initFunctions_5Method · 0.80
initFunctions_3Method · 0.80
initFunctions_2Method · 0.80
initFunctions_15Method · 0.80
initFunctions_14Method · 0.80
initFunctions_1Method · 0.80
initFunctions_18Method · 0.80
initFunctions_9Method · 0.80
initFunctions_10Method · 0.80

Calls 2

addFunctionMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected