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

Function lua_rawget

third-party/lua-5.5.0/src/lapi.c:760–769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

758
759
760LUA_API int lua_rawget (lua_State *L, int idx) {
761 Table *t;
762 lu_byte tag;
763 lua_lock(L);
764 api_checkpop(L, 1);
765 t = gettable(L, idx);
766 tag = luaH_get(t, s2v(L->top.p - 1), s2v(L->top.p - 1));
767 L->top.p--; /* pop key */
768 return finishrawget(L, tag);
769}
770
771
772LUA_API int lua_rawgeti (lua_State *L, int idx, lua_Integer n) {

Callers 9

luaB_rawgetFunction · 0.70
luaL_getmetafieldFunction · 0.70
checkfieldFunction · 0.70
hookfFunction · 0.70
db_gethookFunction · 0.70
CallMetaFunctionFunction · 0.50
GetVariableMethod · 0.50
pushVariableFunction · 0.50
lua_rawgetpFunction · 0.50

Calls 3

gettableFunction · 0.70
luaH_getFunction · 0.70
finishrawgetFunction · 0.70

Tested by

no test coverage detected