** Hook set by signal function to stop the interpreter. */
| 68 | ** Hook set by signal function to stop the interpreter. |
| 69 | */ |
| 70 | [[noreturn]] static void lstop (lua_State *L, lua_Debug *ar) { |
| 71 | (void)ar; /* unused arg. */ |
| 72 | lua_sethook(L, NULL, 0, 0); /* reset hook */ |
| 73 | luaL_error(L, "interrupted!"); |
| 74 | } |
| 75 | |
| 76 | |
| 77 | /* |
nothing calls this directly
no test coverage detected