MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / lua_rawgeti

Function lua_rawgeti

3rd/lua-5.4.3/src/lapi.c:738–743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

736
737
738LUA_API int lua_rawgeti (lua_State *L, int idx, lua_Integer n) {
739 Table *t;
740 lua_lock(L);
741 t = gettable(L, idx);
742 return finishrawget(L, luaH_getint(t, n));
743}
744
745
746LUA_API int lua_rawgetp (lua_State *L, int idx, const void *p) {

Callers 6

lua_getiFunction · 0.85
pushargsFunction · 0.85
luaL_refFunction · 0.85
luaL_unrefFunction · 0.85
gctmFunction · 0.85
findloaderFunction · 0.85

Calls 3

gettableFunction · 0.85
finishrawgetFunction · 0.85
luaH_getintFunction · 0.85

Tested by

no test coverage detected