MCPcopy Create free account
hub / github.com/axmolengine/axmol / lua_getglobal

Function lua_getglobal

3rdparty/lua/plainlua/lapi.c:666–671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664
665
666LUA_API int lua_getglobal (lua_State *L, const char *name) {
667 const TValue *G;
668 lua_lock(L);
669 G = getGtable(L);
670 return auxgetstr(L, G, name);
671}
672
673
674LUA_API int lua_gettable (lua_State *L, int idx) {

Callers 15

luaregister_yasioFunction · 0.85
call_exception_handlerFunction · 0.85
main_threadFunction · 0.85
field_getterClass · 0.85
get_default_handlerFunction · 0.85
dolibraryFunction · 0.85
pushargsFunction · 0.85
get_promptFunction · 0.85
l_printFunction · 0.85
parseConfigMethod · 0.85
get_string_for_printFunction · 0.85

Calls 1

auxgetstrFunction · 0.85

Tested by

no test coverage detected