[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Is it possible to store lua function in a C struct?
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 8 May 2012 12:28:12 +0200
On Tue, May 8, 2012 at 12:22 PM, Tezduyar Lindskog, Umut
> 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.