Function rglua::lua::lua_setglobal[][src]

pub fn lua_setglobal(l: LuaState, name: LuaString)
Expand description

Sets a value in _G Internally calls lua_setfield with crate::lua::GLOBALSINDEX