MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / lua_setglobal

Function lua_setglobal

lib/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 12

createargtableFunction · 0.85
dolibraryFunction · 0.85
luaL_requirefFunction · 0.85
openSafeLibsFunction · 0.85
installScriptApiMethod · 0.85
openSafeLibsForTransformFunction · 0.85
injectTableApiLuaMethod · 0.85
installLuaMethod · 0.85
openSafeLibsFunction · 0.85
installLuaMethod · 0.85
installLuaMethod · 0.85
installLuaConsoleMethod · 0.85

Calls 1

auxsetstrFunction · 0.85

Tested by

no test coverage detected