MCPcopy Create free account
hub / github.com/DFHack/dfhack / lua_error

Function lua_error

depends/lua/src/lapi.c:1114–1120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1112
1113
1114LUA_API int lua_error (lua_State *L) {
1115 lua_lock(L);
1116 api_checknelems(L, 1);
1117 luaG_errormsg(L);
1118 /* code unreachable; will unlock when control actually leaves the kernel */
1119 return 0; /* to avoid warnings */
1120}
1121
1122
1123LUA_API int lua_next (lua_State *L, int idx) {

Callers 8

dfhack_errorFunction · 0.85
dfhack_coauxwrapFunction · 0.85
dfhack_cleanup_contFunction · 0.85
luaB_errorFunction · 0.85
luaB_dofileFunction · 0.85
luaL_errorFunction · 0.85
luaB_auxwrapFunction · 0.85

Calls 1

luaG_errormsgFunction · 0.85

Tested by

no test coverage detected