| 424 | |
| 425 | |
| 426 | LUA_API lua_State *lua_tothread(lua_State *L, int idx) { |
| 427 | StkId o = index2addr(L, idx); |
| 428 | return (!ttisthread(o)) ? nullptr : thvalue(o); |
| 429 | } |
| 430 | |
| 431 | |
| 432 | LUA_API const void *lua_topointer(lua_State *L, int idx) { |
no test coverage detected