URL:
<http://gna.org/patch/?3225>
Summary: Replace lua_open() call with luaL_newstate() call
Project: Freeciv
Submitted by: cazfi
Submitted on: Fri 30 Mar 2012 10:57:44 PM EEST
Category: general
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.5.0
_______________________________________________________
Details:
lua_open() should not be used. In lua-5.1 it's still available as simple
wrapper macro for luaL_newstate(). In lua-5.2 it doesn't exist at all.
Attached patch replaces lua_open() call in freeciv code with luaL_newstate()
call that works with both lua-5.1 and lua-5.2.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 30 Mar 2012 10:57:44 PM EEST Name: LuaLNewstate.diff Size: 441B
By: cazfi
<http://gna.org/patch/download.php?file_id=15464>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?3225>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev