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

Function lua_getglobal

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

Source from the content-addressed store, hash-verified

697
698
699LUA_API int lua_getglobal (lua_State *L, const char *name) {
700 TValue gt;
701 lua_lock(L);
702 getGlobalTable(L, &gt);
703 return auxgetstr(L, &gt, name);
704}
705
706
707LUA_API int lua_gettable (lua_State *L, int idx) {

Callers 7

dolibraryFunction · 0.70
pushargsFunction · 0.70
get_promptFunction · 0.70
l_printFunction · 0.70
dolibraryFunction · 0.50
dottyFunction · 0.50
luaB_printFunction · 0.50

Calls 2

getGlobalTableFunction · 0.85
auxgetstrFunction · 0.70

Tested by

no test coverage detected