MCPcopy Create free account
hub / github.com/ArduPilot/ardupilot / l_message

Function l_message

libraries/AP_Scripting/lua/src/lua.c:156–159  ·  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

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

Callers 3

reportFunction · 0.85
l_printFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected