lua-users home
lua-l archive

RE: null reference

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


> 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.
Lua has such a define (LUA_NOREF). 
-- 
Lyrian 

AltStyle によって変換されたページ (->オリジナル) /