MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / lua_setglobal

Function lua_setglobal

Dependencies/lua/src/lapi.c:847–852  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

845
846
847LUA_API void lua_setglobal (lua_State *L, const char *name) {
848 const TValue *G;
849 lua_lock(L); /* unlock done in 'auxsetstr' */
850 G = getGtable(L);
851 auxsetstr(L, G, name);
852}
853
854
855LUA_API void lua_settable (lua_State *L, int idx) {

Callers 11

set_default_handlerFunction · 0.85
register_main_threadFunction · 0.85
field_setterClass · 0.85
luaL_requirefFunction · 0.85
LuaRegisterFunction · 0.85
warnfFunction · 0.85
runCFunction · 0.85
CfunckFunction · 0.85
luaB_opentestsFunction · 0.85
luaL_requirefFunction · 0.85

Calls 1

auxsetstrFunction · 0.85

Tested by 4

warnfFunction · 0.68
runCFunction · 0.68
CfunckFunction · 0.68
luaB_opentestsFunction · 0.68