[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Global variables and the GC
- From: Luiz Henrique de Figueiredo <lhf>
- Date: Thu, 30 Aug 2001 12:11:32 -0300
>In LS, I push a reference to a special handler function as a global as I am
>registering my function overrides for Lua. Will Lua ever find the need to GC
>this global, or will my reference stay put? Should I use lua_ref instead, to
>make sure that my reference never goes away?
I'm not sure what you mean. The values of global variables are never GC'd.
--lhf