Tao.Lua.Lua.lua_setglobal C# (CSharp) Method

lua_setglobal() public static method

Pops a value from the stack and sets it as the new value of global name.
public static lua_setglobal ( lua_State L, string s ) : void
L lua_State
s string
return void
        public static void lua_setglobal(lua_State L, string s)
        {
            lua_setfield(L, LUA_GLOBALSINDEX, s);
        }
Lua