| 950 | |
| 951 | |
| 952 | LUA_API void lua_rawseti (lua_State *L, int idx, lua_Integer n) { |
| 953 | Table *t; |
| 954 | lua_lock(L); |
| 955 | api_checkpop(L, 1); |
| 956 | t = gettable(L, idx); |
| 957 | luaH_setint(L, t, n, s2v(L->top.p - 1)); |
| 958 | luaC_barrierback(L, obj2gco(t), s2v(L->top.p - 1)); |
| 959 | L->top.p--; |
| 960 | lua_unlock(L); |
| 961 | } |
| 962 | |
| 963 | |
| 964 | LUA_API int lua_setmetatable (lua_State *L, int objindex) { |
no test coverage detected