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

Function dfhack_printerr

library/LuaTools.cpp:385–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383}
384
385void dfhack_printerr(lua_State *S, const std::string &str)
386{
387 if (color_ostream *out = Lua::GetOutput(S))
388 out->printerr("{}\n", str);
389 else
390 Core::printerr("{}\n", str);
391}
392
393static int lua_dfhack_printerr(lua_State *S)
394{

Callers 3

signal_typeid_errorFunction · 0.85
lua_dfhack_printerrFunction · 0.85
report_errorFunction · 0.85

Calls 1

printerrFunction · 0.50

Tested by

no test coverage detected