[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: null reference
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 31 Jul 2000 12:10:41 -0300 (EST)
>From: Max McGuire <amcguire@andrew.cmu.edu>
>
>I'm looking for a value that I can use in my C code to indicate that an
>integer is not storing a valid reference, much like the NULL value is used
>for indicating invaild pointers or LUA_NOOBJECT for lua_Object's. The
>requirement on this value is that lua_ref() will never return that value.
Use LUA_NOREF (introduced in 4.0).
--lhf