** Hook set by signal function to stop the interpreter. */
| 110 | ** Hook set by signal function to stop the interpreter. |
| 111 | */ |
| 112 | static void lstop (lua_State *L, lua_Debug *ar) { |
| 113 | (void)ar; /* unused arg. */ |
| 114 | lua_sethook(L, NULL, 0, 0); /* reset hook */ |
| 115 | luaL_error(L, "interrupted!"); |
| 116 | } |
| 117 | |
| 118 | |
| 119 | /* |
nothing calls this directly
no test coverage detected