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

Function lua_rawget

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

Source from the content-addressed store, hash-verified

637
638
639LUA_API void lua_rawget (lua_State *L, int idx) {
640 StkId t;
641 lua_lock(L);
642 t = index2addr(L, idx);
643 api_check(L, ttistable(t), "table expected");
644 setobj2s(L, L->top - 1, luaH_get(hvalue(t), L->top - 1));
645 lua_unlock(L);
646}
647
648
649LUA_API void lua_rawgeti (lua_State *L, int idx, int n) {

Callers 5

luaB_rawgetFunction · 0.70
luaL_getmetafieldFunction · 0.70
luaL_findtableFunction · 0.70
hookfFunction · 0.70
db_gethookFunction · 0.70

Calls 2

index2addrFunction · 0.70
luaH_getFunction · 0.70

Tested by

no test coverage detected