MCPcopy Create free account
hub / github.com/Tencent/xLua / luaG_runerror

Function luaG_runerror

WebGLPlugins/ldebug.c:652–662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

650
651
652l_noret luaG_runerror (lua_State *L, const char *fmt, ...) {
653 CallInfo *ci = L->ci;
654 const char *msg;
655 va_list argp;
656 va_start(argp, fmt);
657 msg = luaO_pushvfstring(L, fmt, argp); /* format message */
658 va_end(argp);
659 if (isLua(ci)) /* if Lua function, add source:line information */
660 luaG_addinfo(L, msg, ci_func(ci)->p->source, currentline(ci));
661 luaG_errormsg(L);
662}
663
664
665void luaG_traceexec (lua_State *L) {

Callers 15

luaV_finishgetFunction · 0.85
luaV_finishsetFunction · 0.85
luaV_concatFunction · 0.85
luaV_divFunction · 0.85
luaV_modFunction · 0.85
luaV_executeFunction · 0.85
luaM_growaux_Function · 0.85
luaM_toobigFunction · 0.85
luaO_pushvfstringFunction · 0.85
findindexFunction · 0.85
setnodevectorFunction · 0.85
luaH_newkeyFunction · 0.85

Calls 4

luaO_pushvfstringFunction · 0.85
luaG_addinfoFunction · 0.85
currentlineFunction · 0.85
luaG_errormsgFunction · 0.85

Tested by

no test coverage detected