MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / lua_gettable

Function lua_gettable

third-party/lua-5.3.5/src/lapi.c:612–619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

610
611
612LUA_API int lua_gettable (lua_State *L, int idx) {
613 StkId t;
614 lua_lock(L);
615 t = index2addr(L, idx);
616 luaV_gettable(L, t, L->top - 1, L->top - 1);
617 lua_unlock(L);
618 return ttnov(L->top - 1);
619}
620
621
622LUA_API int lua_getfield (lua_State *L, int idx, const char *k) {

Callers 1

add_valueFunction · 0.70

Calls 2

index2addrFunction · 0.70
luaV_gettableFunction · 0.50

Tested by

no test coverage detected