lua-users home
lua-l archive

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


That's true, but I will have a compiler warning and it seems more clear that 
I'm not allowed to do that when I read the prototype.
BTW, it's not very important.

I don't want to make a troll, and it will be my mast post on this subject, 
but it worked fine with previous version, I'm not seeing why it's impossible 
to allow negative index in the new one. And, last remark, it seems a good 
idea to write it in the new manual (perhaps i've missed it because i did not 
re-read it from begin to end :p )


----- Original Message ----- 
From: "Luiz Henrique de Figueiredo" <lhf@tecgraf.puc-rio.br>
To: "Lua list" <lua@bazar2.conectiva.com.br>
Sent: Friday, February 17, 2006 4:30 PM
Subject: Re: luaL_checkudata (5.1-rc4) bug ?


|> So why not prototyping these functions with unsigned int ?
|
| That won't give you any errors if you call it with negative numbers.
| --lhf
|