lua_rawseti
lua_rawseti(L, t, freelist); /* (t[freelist] = t[ref]) */
lua_rawseti(L, t, ref);
lua_rawseti(L, t, ref); /* t[ref] = t[freelist] */
lua_rawseti(L, t, freelist); /* t[freelist] = ref */
lua_rawseti(L, -2, 1); /* insert first element */
lua_rawseti(L, 1, i);
lua_rawseti(L, 1, i);
lua_rawseti(L, 1, j);
lua_rawseti(L, 1, i); /* t[i] = t[i-1] */
lua_rawseti(L, 1, pos); /* t[pos] = v */
lua_rawseti(L, 1, pos); /* t[pos] = t[pos+1] */
lua_rawseti(L, 1, pos); /* t[pos] = nil */
LUA_API void (lua_rawseti) (lua_State *L, int idx, int n);