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

Function lua_getglobal

emmy_debugger/src/api/lua_api_loader.cpp:268–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266}
267
268int lua_getglobal(lua_State* L, const char* name)
269{
270 if (luaVersion > LuaVersion::LUA_51)
271 {
272 return e_lua_getglobal(L, name);
273 }
274 return lua_getfield(L, LUA_GLOBALSINDEX, name);
275}
276
277void lua_setglobal(lua_State* L, const char* name)
278{

Callers 6

LuaErrorFunction · 0.50
FixPathFunction · 0.50
EnvIndexFunctionFunction · 0.50
emmyHelperInitFunction · 0.50
QueryVariableGenericMethod · 0.50
QueryParentThreadMethod · 0.50

Calls 1

lua_getfieldFunction · 0.50

Tested by

no test coverage detected