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

Function l_message

depends/lua/src/lua.c:155–158  ·  view source on GitHub ↗

** Prints an error message, adding the program name in front of it ** (if present) */

Source from the content-addressed store, hash-verified

153** (if present)
154*/
155static void l_message (const char *pname, const char *msg) {
156 if (pname) lua_writestringerror("%s: ", pname);
157 lua_writestringerror("%s\n", msg);
158}
159
160
161/*

Callers 3

reportFunction · 0.85
l_printFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected