MCPcopy Create free account
hub / github.com/defold/defold / lua_rawseti

Function lua_rawseti

engine/lua/src/lua/lapi.c:684–694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

682
683
684LUA_API void lua_rawseti (lua_State *L, int idx, int n) {
685 StkId o;
686 lua_lock(L);
687 api_checknelems(L, 1);
688 o = index2adr(L, idx);
689 api_check(L, ttistable(o));
690 setobj2t(L, luaH_setnum(L, hvalue(o), n), L->top-1);
691 luaC_barriert(L, hvalue(o), L->top-1);
692 L->top--;
693 lua_unlock(L);
694}
695
696
697LUA_API int lua_setmetatable (lua_State *L, int objindex) {

Callers 15

Script_GetFunction · 0.85
InitializeModuleFunction · 0.85
Sys_GetIfaddrsFunction · 0.85
DDFToLuaValueFunction · 0.85
Graphics_GetAdapterInfoFunction · 0.85
TEST_FFunction · 0.85
json_parse_array_contextFunction · 0.85
LuaGetFunction · 0.85
PushRenderConstantFunction · 0.85
PushVertexAttributeValueFunction · 0.85
GetFontInfoFunction · 0.85

Calls 2

index2adrFunction · 0.85
luaH_setnumFunction · 0.85

Tested by 1

TEST_FFunction · 0.68