MCPcopy Create free account
hub / github.com/DFHack/dfhack / SafeCall

Function SafeCall

library/include/LuaTools.h:503–506  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

501 }
502
503 inline bool SafeCall(color_ostream &out, int nargs, int nres, bool perr = true) {
504 auto State = DFHack::Core::getInstance().getLuaState();
505 return Lua::SafeCall(out, State, nargs, nres, perr);
506 }
507 inline bool PushModule(color_ostream &out, const char *module) {
508 auto State = DFHack::Core::getInstance().getLuaState();
509 return Lua::PushModule(out, State, module);

Callers 15

is_builtinMethod · 0.85
get_commandsFunction · 0.85
help_helperMethod · 0.85
tags_helperFunction · 0.85
ls_helperFunction · 0.85
CallLuaModuleFunctionMethod · 0.85
PushModuleMethod · 0.85
doAssignDFObjectFunction · 0.85
SafeCallStringMethod · 0.85
RunCoreQueryLoopMethod · 0.85
run_timersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected