[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Acceptable indicies
- From: liam mail <liam.list@...>
- Date: Wed, 31 Aug 2011 14:56:30 +0100
On 31 August 2011 14:21, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> But how do you validate, say, an index you give to a C function that
>> queries the Lua stack?
>
> Use lua_type. The manual says that it returns LUA_TNONE for a non-valid index.
>
>
Only a non valid acceptable index, a non valid non acceptable index is
undefined and there is no way to determine if an index is non valid
non acceptable.
Liam
- References:
- Acceptable indicies, liam mail
- Re: Acceptable indicies, oliver
- Re: Acceptable indicies, Robert Raschke
- Re: Acceptable indicies, Robert Raschke
- Re: Acceptable indicies, oliver
- Re: Acceptable indicies, Robert Raschke
- Re: Acceptable indicies, oliver
- Re: Acceptable indicies, Josh Simmons
- Re: Acceptable indicies, oliver
- Re: Acceptable indicies, Luiz Henrique de Figueiredo