[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: luaL_checkudata (5.1-rc4) bug ?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 17 Feb 2006 13:20:02 -0200
> It seems that there is a bug in the new implementation of luaL_checkudata :
> Everything works fine if the index ( ud ) is positive, but there seems to be
> a problem when it's negative :
All luaL_check* functions should be called only with positive indices
(more specifically, with indices to parameters).