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

Function lua_rawgeti

third-party/lua-5.4.6/src/lapi.c:744–749  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

742
743
744LUA_API int lua_rawgeti (lua_State *L, int idx, lua_Integer n) {
745 Table *t;
746 lua_lock(L);
747 t = gettable(L, idx);
748 return finishrawget(L, luaH_getint(t, n));
749}
750
751
752LUA_API int lua_rawgetp (lua_State *L, int idx, const void *p) {

Callers 5

pushargsFunction · 0.70
luaL_refFunction · 0.70
luaL_unrefFunction · 0.70
gctmFunction · 0.70
findloaderFunction · 0.70

Calls 3

gettableFunction · 0.70
finishrawgetFunction · 0.70
luaH_getintFunction · 0.70

Tested by

no test coverage detected