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

Function lua_error

third-party/lua-5.1.5/src/lapi.c:964–970  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

962
963
964LUA_API int lua_error (lua_State *L) {
965 lua_lock(L);
966 api_checknelems(L, 1);
967 luaG_errormsg(L);
968 lua_unlock(L);
969 return 0; /* to avoid warnings */
970}
971
972
973LUA_API int lua_next (lua_State *L, int idx) {

Callers 6

luaB_errorFunction · 0.70
luaB_dofileFunction · 0.70
luaB_auxwrapFunction · 0.70
luaL_errorFunction · 0.70
luaY_parserFunction · 0.50
luaU_dumpFunction · 0.50

Calls 1

luaG_errormsgFunction · 0.70

Tested by

no test coverage detected