[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Reference numbers always increment. Is this correct?
- From: "Tim Hunter" <Tim.Hunter@...>
- Date: Fri, 10 Aug 2007 08:02:39 -0400
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.