[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luaL_checkudata with negative index
- From: Javier Guerra <javier@...>
- Date: Sun, 9 Apr 2006 06:46:32 -0500
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:
pgpvKHBN9_Z4J.pgp
Description: PGP signature