[Date Prev][Date Next][Thread Prev][Thread Next]
- 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!
> -----Original Message-----
> From: firstname.lastname@example.org
> [mailto:email@example.com] 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.