lua-users home
lua-l archive

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

>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.