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

Function lua_gettable

engine/lua/src/lua/lapi.c:534–541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

532
533
534LUA_API void lua_gettable (lua_State *L, int idx) {
535 StkId t;
536 lua_lock(L);
537 t = index2adr(L, idx);
538 api_checkvalidindex(L, t);
539 luaV_gettable(L, t, L->top - 1, L->top - 1);
540 lua_unlock(L);
541}
542
543
544LUA_API void lua_getfield (lua_State *L, int idx, const char *k) {

Callers 15

ScriptInstance_indexFunction · 0.85
GetGlobalFunction · 0.85
GetInstanceFunction · 0.85
GetContextValueFunction · 0.85
GetInstanceContextValueFunction · 0.85
Vector_newFunction · 0.85
ReadSerializedTableFunction · 0.85
TEST_FFunction · 0.85
opt_set_lingerFunction · 0.85
opt_setmembershipFunction · 0.85
opt_ip6_setmembershipFunction · 0.85

Calls 2

index2adrFunction · 0.85
luaV_gettableFunction · 0.85

Tested by 2

ReadSerializedTableFunction · 0.68
TEST_FFunction · 0.68