mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-05 19:46:35 +00:00
Luabind updated to be able to be compiled with Lua 5.2. Didn't really test it with 5.2 though since I'm still on 5.1. In theory it should work now though.
This commit is contained in:
@@ -1207,7 +1207,7 @@ inline object newtable(lua_State* interpreter)
|
||||
// this could be optimized by returning a proxy
|
||||
inline object globals(lua_State* interpreter)
|
||||
{
|
||||
lua_pushvalue(interpreter, LUA_GLOBALSINDEX);
|
||||
lua_pushglobaltable(interpreter);
|
||||
detail::stack_pop pop(interpreter, 1);
|
||||
return object(from_stack(interpreter, -1));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user