| 432 | |
| 433 | |
| 434 | LUA_API lua_State *lua_tothread (lua_State *L, int idx) { |
| 435 | StkId o = index2addr(L, idx); |
| 436 | return (!ttisthread(o)) ? NULL : thvalue(o); |
| 437 | } |
| 438 | |
| 439 | |
| 440 | LUA_API const void *lua_topointer (lua_State *L, int idx) { |
no test coverage detected