MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / lua_getfield

Function lua_getfield

3rd/lua-5.4.3/src/lapi.c:683–686  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

681
682
683LUA_API int lua_getfield (lua_State *L, int idx, const char *k) {
684 lua_lock(L);
685 return auxgetstr(L, index2value(L, idx), k);
686}
687
688
689LUA_API int lua_geti (lua_State *L, int idx, lua_Integer n) {

Callers 15

pushglobalfuncnameFunction · 0.85
luaL_getsubtableFunction · 0.85
luaL_requirefFunction · 0.85
noenvFunction · 0.85
checkclibFunction · 0.85
addtoclibFunction · 0.85
findfileFunction · 0.85
searcher_preloadFunction · 0.85
findloaderFunction · 0.85
ll_requireFunction · 0.85
getboolfieldFunction · 0.85
getfieldFunction · 0.85

Calls 2

auxgetstrFunction · 0.85
index2valueFunction · 0.85

Tested by

no test coverage detected