| 83 | |
| 84 | |
| 85 | static int setn (lua_State *L) { |
| 86 | luaL_checktype(L, 1, LUA_TTABLE); |
| 87 | #ifndef luaL_setn |
| 88 | luaL_setn(L, 1, luaL_checkint(L, 2)); |
| 89 | #else |
| 90 | luaL_error(L, LUA_QL("setn") " is obsolete"); |
| 91 | #endif |
| 92 | lua_pushvalue(L, 1); |
| 93 | return 1; |
| 94 | } |
| 95 | |
| 96 | |
| 97 | static int tinsert (lua_State *L) { |
nothing calls this directly
no test coverage detected