| 913 | |
| 914 | |
| 915 | LUA_API void lua_rawseti (lua_State *L, int idx, lua_Integer n) { |
| 916 | Table *t; |
| 917 | lua_lock(L); |
| 918 | api_checknelems(L, 1); |
| 919 | t = gettable(L, idx); |
| 920 | luaH_setint(L, t, n, s2v(L->top - 1)); |
| 921 | luaC_barrierback(L, obj2gco(t), s2v(L->top - 1)); |
| 922 | L->top--; |
| 923 | lua_unlock(L); |
| 924 | } |
| 925 | |
| 926 | |
| 927 | LUA_API int lua_setmetatable (lua_State *L, int objindex) { |
no test coverage detected