I looked at the patch. It seems to be correct, very simple, and maintains compatibility with Lua 5.1.
[I don't have a SWIG built from sources to test it with, but I applied the same changes by hand to the output of SWIG, and the result works fine with both Lua 5.1 and Lua 5.2]
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches"
Swig 2.0.4 Lua 5.2 patch
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches"
Hi,
Is there a reason this patch hasn't been applied?
I looked at the patch. It seems to be correct, very simple, and maintains compatibility with Lua 5.1.
[I don't have a SWIG built from sources to test it with, but I applied the same changes by hand to the output of SWIG, and the result works fine with both Lua 5.1 and Lua 5.2]
The same changes were applied for swig-2.0.5. Duplicate of 3514593.