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

Function lua_rawgeti

third-party/lua-5.2.4/src/lapi.c:649–657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647
648
649LUA_API void lua_rawgeti (lua_State *L, int idx, int n) {
650 StkId t;
651 lua_lock(L);
652 t = index2addr(L, idx);
653 api_check(L, ttistable(t), "table expected");
654 setobj2s(L, L->top, luaH_getint(hvalue(t), n));
655 api_incr_top(L);
656 lua_unlock(L);
657}
658
659
660LUA_API void lua_rawgetp (lua_State *L, int idx, const void *p) {

Callers 10

ipairsauxFunction · 0.70
luaL_refFunction · 0.70
luaL_unrefFunction · 0.70
tinsertFunction · 0.70
tremoveFunction · 0.70
addfieldFunction · 0.70
unpackFunction · 0.70
auxsortFunction · 0.70
gctmFunction · 0.70
findloaderFunction · 0.70

Calls 2

index2addrFunction · 0.70
luaH_getintFunction · 0.70

Tested by

no test coverage detected