MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / lua_rawgeti

Function lua_rawgeti

xrepo/packages/l/lua/port/lua/src/lapi.c:748–753  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 6

pushargsFunction · 0.70
luaL_refFunction · 0.70
luaL_unrefFunction · 0.70
gctmFunction · 0.70
findloaderFunction · 0.70
bind_ecsFunction · 0.50

Calls 3

gettableFunction · 0.85
finishrawgetFunction · 0.85
luaH_getintFunction · 0.85

Tested by

no test coverage detected