[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: luaL_checkudata (5.1-rc4) bug ?
- From: Jérôme VOLPOËT <jerome.volpoet@...>
- Date: Fri, 17 Feb 2006 16:26:40 +0100
Thanks for the answer.
So why not prototyping these functions with unsigned int ?
----- Original Message -----
From: "Roberto Ierusalimschy" <firstname.lastname@example.org>
To: "Lua list" <email@example.com>
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
| > a problem when it's negative :
| All luaL_check* functions should be called only with positive indices
| (more specifically, with indices to parameters).
| -- Roberto