lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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: pgpbm424iC3Pq.pgp
Description: PGP signature