Miles Bader reported a bug in the Debian package of SWIG 1.3.33.
Basically, it is not possible to wrap unary minus for LUA.
This seems even to be a known problem, as the test suite for LUA has the
tests for unary minus commented out.
I tried to implement a patch to fix this, however, I am not sure if it
meets your quality requirements. I did not made it too deep into the
SWIG sources yet so there will probably a better and cleaner way to do
But please consider applying the attached patch until a better fix comes
Comments appreciated, Torsten
Thanks for the input, I hadn't though of solving it that way.
Anyway, I added the patch and tested it, at all worked fine.
Its now in SVN.
Sent from Yahoo! - a smarter inbox.
On Mon, Feb 11, 2008 at 03:14:43AM +0000, Mark Gossage wrote:
> Thanks for the input, I hadn't though of solving it that way.
> Anyway, I added the patch and tested it, at all worked fine.
> Its now in SVN.
Great. I'll prepare an updated Debian package than to get that bug