On Sunday 09 April 2006 3:04 am, Jérôme VUARAND wrote: > Hi list, > > In lua 5.1 luaL_checkudata no longer support negative indices because > it pushes something on the stack before evaluating its argument. I > noticed that because lua-tcc use it that way and it was not working > with 5.1. Here is a unified patch to bring back old behaviour of > luaL_checkudata (also in attached file) : i've already patched lua-tcc to not use negative indices. it's in the CVS version. BTW, was there any good reason to remove that feature of luaL_checkudata() ? -- Javier
Attachment:
pgpflTtwh1PvQ.pgp
Description: PGP signature