lua-users home
lua-l archive

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

> 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