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

Function lua_getfield

third-party/lua-5.2.4/src/lapi.c:628–636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

626
627
628LUA_API void lua_getfield (lua_State *L, int idx, const char *k) {
629 StkId t;
630 lua_lock(L);
631 t = index2addr(L, idx);
632 setsvalue2s(L, L->top, luaS_new(L, k));
633 api_incr_top(L);
634 luaV_gettable(L, t, L->top - 1, L->top - 1);
635 lua_unlock(L);
636}
637
638
639LUA_API void lua_rawget (lua_State *L, int idx) {

Callers 15

luaL_pushmoduleFunction · 0.70
luaL_getsubtableFunction · 0.70
luaopen_tableFunction · 0.70
ll_checkclibFunction · 0.70
ll_addtoclibFunction · 0.70
findfileFunction · 0.70
searcher_preloadFunction · 0.70
findloaderFunction · 0.70
ll_requireFunction · 0.70
ll_moduleFunction · 0.70
noenvFunction · 0.70
getboolfieldFunction · 0.70

Calls 3

index2addrFunction · 0.70
luaS_newFunction · 0.70
luaV_gettableFunction · 0.70

Tested by

no test coverage detected