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