16 May 2012 01:40
Re: 2.0.5 and above breaking Lua 5.1?
Olly Betts <olly <at> survex.com>
2012-05-15 23:40:55 GMT
2012-05-15 23:40:55 GMT
On Wed, May 16, 2012 at 07:29:11AM +0900, Miles Bader wrote:
> Yes, I tested with both 5.1.4 and 5.2 (but not with 5.0).
I didn't test 5.0 either, FWIW.
> It maybe would have been a better idea to define a new
> "swig_lua_rawlen" macro for all versions of Lua, instead of defining
> lua_rawlen for pre-5.2 versions. If there are bugs, that might at
> least make the failure mode a bit less confusing...
I think the current approach is good - it means users can write custom
typemaps using the Lua 5.2 API and they are likely to work for older
versions too.
Cheers,
Olly
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
RSS Feed