MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / lua_rawget

Function lua_rawget

deps/lua/src/lapi.c:557–564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

555
556
557LUA_API void lua_rawget (lua_State *L, int idx) {
558 StkId t;
559 lua_lock(L);
560 t = index2adr(L, idx);
561 api_check(L, ttistable(t));
562 setobj2s(L, L->top - 1, luaH_get(hvalue(t), L->top - 1));
563 lua_unlock(L);
564}
565
566
567LUA_API void lua_rawgeti (lua_State *L, int idx, int n) {

Callers 9

luaB_rawgetFunction · 0.85
luaB_newproxyFunction · 0.85
luaL_getmetafieldFunction · 0.85
luaL_setnFunction · 0.85
luaL_getnFunction · 0.85
luaL_findtableFunction · 0.85
hookfFunction · 0.85
gethooktableFunction · 0.85
db_gethookFunction · 0.85

Calls 2

index2adrFunction · 0.85
luaH_getFunction · 0.85

Tested by

no test coverage detected