MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / lua_getfield

Function lua_getfield

other_src/lua/src/lapi.cpp:576–586  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

574
575
576LUA_API void lua_getfield (lua_State *L, int idx, const char *k) {
577 StkId t;
578 TValue key;
579 lua_lock(L);
580 t = index2adr(L, idx);
581 api_checkvalidindex(L, t);
582 setsvalue(L, &key, luaS_new(L, k));
583 luaV_gettable(L, t, &key, L->top);
584 api_incr_top(L);
585 lua_unlock(L);
586}
587
588
589LUA_API void lua_rawget (lua_State *L, int idx) {

Callers 15

getboolfieldFunction · 0.70
getfieldFunction · 0.70
findfileFunction · 0.70
loader_preloadFunction · 0.70
ll_requireFunction · 0.70
ll_moduleFunction · 0.70
luaopen_packageFunction · 0.70
doublestackFunction · 0.70
luaopen_stringFunction · 0.70
io_typeFunction · 0.70
aux_closeFunction · 0.70
luaopen_ioFunction · 0.70

Calls 2

index2adrFunction · 0.70
luaV_gettableFunction · 0.70

Tested by

no test coverage detected