| 879 | |
| 880 | |
| 881 | LUA_API void lua_rawseti (lua_State *L, int idx, lua_Integer n) { |
| 882 | Table *t; |
| 883 | lua_lock(L); |
| 884 | api_checknelems(L, 1); |
| 885 | t = gettable(L, idx); |
| 886 | luaH_setint(L, t, n, s2v(L->top - 1)); |
| 887 | luaC_barrierback(L, obj2gco(t), s2v(L->top - 1)); |
| 888 | L->top--; |
| 889 | lua_unlock(L); |
| 890 | } |
| 891 | |
| 892 | |
| 893 | LUA_API int lua_setmetatable (lua_State *L, int objindex) { |
no test coverage detected