MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaL_error

Function luaL_error

third-party/lua-5.2.4/src/lauxlib.c:196–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194
195
196LUALIB_API int luaL_error (lua_State *L, const char *fmt, ...) {
197 va_list argp;
198 va_start(argp, fmt);
199 luaL_where(L, 1);
200 lua_pushvfstring(L, fmt, argp);
201 va_end(argp);
202 lua_concat(L, 2);
203 return lua_error(L);
204}
205
206
207LUALIB_API int luaL_fileresult (lua_State *L, int stat, const char *fname) {

Callers 15

lstopFunction · 0.70
luaB_printFunction · 0.70
luaB_setmetatableFunction · 0.70
generic_readerFunction · 0.70
luaB_assertFunction · 0.70
math_randomFunction · 0.70
str_repFunction · 0.70
str_byteFunction · 0.70
str_dumpFunction · 0.70
check_captureFunction · 0.70
capture_to_closeFunction · 0.70
classendFunction · 0.70

Calls 4

luaL_whereFunction · 0.70
lua_pushvfstringFunction · 0.70
lua_concatFunction · 0.70
lua_errorFunction · 0.70

Tested by

no test coverage detected