MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / ll_message

Function ll_message

src/Chain/libraries/glua/lrepl.cpp:35–38  ·  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

33** (if present)
34*/
35static void ll_message(lua_State *L, const char *pname, const char *msg) {
36 if (pname) luaL_writestringerror(L, "%s: ", pname);
37 luaL_writestringerror(L, "%s\n", msg);
38}
39
40/*
41** Hook set by signal function to stop the interpreter.

Callers 2

reportFunction · 0.85
l_printFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected