lua-users home
lua-l archive

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


On Tue, May 8, 2012 at 12:22 PM, Tezduyar Lindskog, Umut
<Umut.TezduyarLindskog@sonymobile.com> wrote:
> Thank you very much for the quick response. It worked like charm. I have further question. Does GC take into account the fact that we are holding a reference to a function?

Once you have a reference, GC will respect that.  You may have the
opposite problem, which is why there is an explicit luaL_unref.

steve d.