MCPcopy Create free account
hub / github.com/defold/defold / luaL_error

Function luaL_error

engine/lua/src/lua/lauxlib.c:86–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84
85
86LUALIB_API int luaL_error (lua_State *L, const char *fmt, ...) {
87 va_list argp;
88 va_start(argp, fmt);
89 luaL_where(L, 1);
90 lua_pushvfstring(L, fmt, argp);
91 va_end(argp);
92 lua_concat(L, 2);
93 return lua_error(L);
94}
95
96/* }====================================================== */
97

Callers 15

CheckHandleFunction · 0.85
Crash_SetUserFieldFunction · 0.85
Crash_GetUserFieldFunction · 0.85
Crash_GetSysFieldFunction · 0.85
ResolveInstanceFunction · 0.85
GetComponentFromLuaFunction · 0.85
Script_GetFunction · 0.85
Script_SetFunction · 0.85
Script_SetScaleFunction · 0.85
Script_SetScaleXYFunction · 0.85
Script_AnimateFunction · 0.85
Script_CancelAnimationsFunction · 0.85

Calls 4

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

Tested by 3

Lua_SpawnFunction · 0.68
FailingFuncFunction · 0.68