MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / makeString

Method makeString

source/src/scriptinterpreter.h:1160–1166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1158 });
1159 }
1160 static QiVar getSavedVariable(const std::string name)
1161 {
1162 if (!initMutex) { ScriptException(ScriptException::error_interpreter_not_init, {}, {}); }
1163 else if (initMutex == INVALID_HANDLE_VALUE) { ScriptException(ScriptException::error_interpreter_exited, {}, {}); }
1164 typepack::value v;
1165 {
1166 std::unique_lock<std::mutex> lock(savedVariables_Mutex);
1167 auto i = savedVariables.find(name);
1168 if (i != savedVariables.end()) v = i->second;
1169 }

Callers 1

ActionInterpreterMethod · 0.80

Calls 3

eraseMethod · 0.80
beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected