From: SourceForge.net <no...@so...> - 2012-04-13 09:15:59
|
Patches item #3517435, was opened at 2012-04-13 02:15 Message generated for change (Tracker Item Submitted) made by snogglethorpe You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=301645&aid=3517435&group_id=1645 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Miles Bader (snogglethorpe) Assigned to: Nobody/Anonymous (nobody) Summary: Use lua_pushglobaltable for Lua Initial Comment: One of the Lua maintainers has recommended using "lua_pushglobaltable" to push the globals table, as being more future-proof than the method currently used by SWIG. lua_pushglobaltable is new in Lua 5.2, so this patch: (1) Adds a definition of lua_pushglobaltable for older versions of Lua to Lib/lua/luarun.swg (2) Changes Lib/lua/luaruntime.swg to use it With patch, the Lua test-suite results are unchanged for both Lua 5.1 and 5.2. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=301645&aid=3517435&group_id=1645 |