| 14622 | |
| 14623 | |
| 14624 | static int setn (lua_State *L) { |
| 14625 | luaL_checktype(L, 1, LUA_TTABLE); |
| 14626 | #ifndef luaL_setn |
| 14627 | luaL_setn(L, 1, luaL_checkint(L, 2)); |
| 14628 | #else |
| 14629 | luaL_error(L, LUA_QL("setn") " is obsolete"); |
| 14630 | #endif |
| 14631 | lua_pushvalue(L, 1); |
| 14632 | return 1; |
| 14633 | } |
| 14634 | |
| 14635 | |
| 14636 | static int tinsert (lua_State *L) { |
nothing calls this directly
no test coverage detected