Bos Wars - Patches: patch #8600, Beginning of migration to Lua 5.2
You are not allowed to post comments on this tracker with your current authentication level.
patch #8600: Beginning of migration to Lua 5.2
Submitter: | Régis Cuisset <rcui> | ||
Submitted: | Sun 01 Feb 2015 12:56:50 PM UTC | ||
Open/Closed: | Open | Status: | None |
Assigned to: | None |
Attached Files
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2015-02-01 | rcui | Attached File | - | Added lua5.2-base.patch, #32963 | |
Attached File | - | Added lua5.2-tolua_data.patch, #32964 |
Powered by Savane 3.13-d3ae.
Corresponding source code
Hi,
Here are the first patches towards the migration goal from Lua 5.1 to 5.2.
- lua5.2-base.patch concerns the engine source code that has to be changed to compile with the new lua header files.
- lua5.2-tolua_data.patch concerns the modifications that shouldbe done to the .pkg files in directory engine/tolua.
Patch for the new tolua.cpp is not included here, as it doesn't compile clenly for now. The main issue is about discrepancies between the classes as expressed in the pkg files, ans the real classes in the header files of the engine.
To solve this issue, I suggest to fusion the pkg and header files, by adding the necessary code in header files in an non-intrusive way.
Comments are welcome.