| 272 | } |
| 273 | |
| 274 | static int |
| 275 | ts_lua_warning(lua_State *L) |
| 276 | { |
| 277 | const char *msg; |
| 278 | size_t len = 0; |
| 279 | |
| 280 | msg = luaL_checklstring(L, 1, &len); |
| 281 | TSWarning("%.*s", (int)len, msg); |
| 282 | return 0; |
| 283 | } |
| 284 | |
| 285 | static int |
| 286 | ts_lua_alert(lua_State *L) |
nothing calls this directly
no test coverage detected