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

Function lstop

third-party/lua-5.5.0/src/lua.c:64–68  ·  view source on GitHub ↗

** Hook set by signal function to stop the interpreter. */

Source from the content-addressed store, hash-verified

62** Hook set by signal function to stop the interpreter.
63*/
64static void lstop (lua_State *L, lua_Debug *ar) {
65 (void)ar; /* unused arg. */
66 lua_sethook(L, NULL, 0, 0); /* reset hook */
67 luaL_error(L, "interrupted!");
68}
69
70
71/*

Callers

nothing calls this directly

Calls 2

lua_sethookFunction · 0.70
luaL_errorFunction · 0.70

Tested by

no test coverage detected