| 228 | } |
| 229 | |
| 230 | static int |
| 231 | ts_lua_emergency(lua_State *L) |
| 232 | { |
| 233 | const char *msg; |
| 234 | size_t len = 0; |
| 235 | |
| 236 | msg = luaL_checklstring(L, 1, &len); |
| 237 | TSEmergency("%.*s", (int)len, msg); |
| 238 | return 0; |
| 239 | } |
| 240 | |
| 241 | static int |
| 242 | ts_lua_fatal(lua_State *L) |
nothing calls this directly
no test coverage detected