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

Function lua_rawget

engine/lua/src/lua/lapi.c:557–564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

555
556
557LUA_API void lua_rawget (lua_State *L, int idx) {
558 StkId t;
559 lua_lock(L);
560 t = index2adr(L, idx);
561 api_check(L, ttistable(t));
562 setobj2s(L, L->top - 1, luaH_get(hvalue(t), L->top - 1));
563 lua_unlock(L);
564}
565
566
567LUA_API void lua_rawgeti (lua_State *L, int idx, int n) {

Callers 15

RetrieveVarFromScriptFunction · 0.85
CompScriptSetPropertyFunction · 0.85
GetUserTypeFunction · 0.85
GetMetaFunctionFunction · 0.85
GetUserDataFunction · 0.85
PCallInternalFunction · 0.85
DoLuaTableToDDFFunction · 0.85
PushHashFunction · 0.85
Hash_gcFunction · 0.85
TEST_FFunction · 0.85
json_append_dataFunction · 0.85
json_parse_array_contextFunction · 0.85

Calls 2

index2adrFunction · 0.85
luaH_getFunction · 0.85

Tested by 1

TEST_FFunction · 0.68