[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Global variables and the GC
- From: "Matt Holmes" <kerion@...>
- Date: Thu, 30 Aug 2001 11:02:16 -0400
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/