lua-users home
lua-l archive

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


Hi everyone, its dumb question from Matt time again ;)

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?

Matt "Kerion" Holmes
Lead Developer
Lua Studio - The Lua IDE
http://www.sourceforge.net/projects/visuallua/