lua-users home
lua-l archive

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


Thanks for the answer.
So why not prototyping these functions with unsigned int ?

----- Original Message ----- 
From: "Roberto Ierusalimschy" <roberto@inf.puc-rio.br>
To: "Lua list" <lua@bazar2.conectiva.com.br>
Sent: Friday, February 17, 2006 4:20 PM
Subject: Re: luaL_checkudata (5.1-rc4) bug ?


|> 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).
|
| -- Roberto
|