MCPcopy Create free account
hub / github.com/ange-yaghi/engine-sim / addFunction

Method addFunction

scripting/src/engine_context.cpp:76–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void es_script::EngineContext::addFunction(FunctionNode *node, Function *function) {
77 m_functions[node] = function;
78}
79
80Function *es_script::EngineContext::getFunction(FunctionNode *exhaust) const {
81 auto it = m_functions.find(exhaust);

Callers 1

generateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected