| 389 | |
| 390 | |
| 391 | LUA_API void lua_close (lua_State *L) { |
| 392 | lua_lock(L); |
| 393 | L = mainthread(G(L)); /* only the main thread can be closed */ |
| 394 | close_state(L); |
| 395 | } |
| 396 | |
| 397 | |
| 398 | void luaE_warning (lua_State *L, const char *msg, int tocont) { |
no test coverage detected