lua-users home
lua-l archive

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


Looks like I've got some debugging to do. Thanks!

--
tph
 

> -----Original Message-----
> From: lua-bounces@bazar2.conectiva.com.br 
> [mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of 
> Roberto Ierusalimschy
> Sent: Thursday, August 09, 2007 4:15 PM
> To: Lua list
> Subject: Re: Reference numbers always increment. Is this correct?
> 
> This behavior is not expected (if I understood you 
> correctly). As soon as you release a reference it can be used 
> again; luaL_ref should only return a "new" (greater) index 
> when there are no free (previously
> unref) numbers left.