MCPcopy Create free account
hub / github.com/Tencent/sluaunreal / luaL_error

Function luaL_error

Plugins/slua_unreal/External/lua/lauxlib.cpp:234–242  ·  view source on GitHub ↗

** Again, the use of 'lua_pushvfstring' ensures this function does ** not need reserved stack space when called. (At worst, it generates ** an error with "stack overflow" instead of the given message.) */

Source from the content-addressed store, hash-verified

232** an error with "stack overflow" instead of the given message.)
233*/
234LUALIB_API int luaL_error (lua_State *L, const char *fmt, ...) {
235 va_list argp;
236 va_start(argp, fmt);
237 luaL_where(L, 1);
238 lua_pushvfstring(L, fmt, argp);
239 va_end(argp);
240 lua_concat(L, 2);
241 return lua_error(L);
242}
243
244
245LUALIB_API int luaL_fileresult (lua_State *L, int stat, const char *fname) {

Callers 15

inet_global_getnameinfoFunction · 0.85
global_selectFunction · 0.85
codepointFunction · 0.85
byteoffsetFunction · 0.85
iter_auxFunction · 0.85
getfieldFunction · 0.85
os_dateFunction · 0.85
os_timeFunction · 0.85
tinsertFunction · 0.85
addfieldFunction · 0.85
unpackFunction · 0.85
partitionFunction · 0.85

Calls 4

luaL_whereFunction · 0.85
lua_pushvfstringFunction · 0.85
lua_concatFunction · 0.85
lua_errorFunction · 0.85

Tested by

no test coverage detected