MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / l_message

Function l_message

lib/lua/src/lua.c:110–113  ·  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

108** (if present)
109*/
110static void l_message (const char *pname, const char *msg) {
111 if (pname) lua_writestringerror("%s: ", pname);
112 lua_writestringerror("%s\n", msg);
113}
114
115
116/*

Callers 3

reportFunction · 0.85
l_printFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected