[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luaL_checkudata (5.1-rc4) bug ?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 17 Feb 2006 13:47:17 -0200
> And, last remark, it seems a good idea to write it in the new manual
Several functions in the auxiliary library are used to check C function
arguments. Their names are always luaL_check* or luaL_opt*. All of these
functions raise an error if the check is not satisfied. Because the
error message is formatted for arguments (e.g., "bad argument #1"), you
should not use these functions for other stack values.
-- Roberto