Re: 'gc' tag method
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: 'gc' tag method
- From: John Belmonte <jvb@...>
- Date: 2002年3月21日 23:06:37 +0900
Hi,
Take a look at the section "Safe Object Destructors" in my Lua technical
note on weak references (http://www.lua.org/notes/ltn006.html).
-John
André de Leiradella wrote:
> Hi all,
>
> Sorry if this has been answered before but why can't I set the 'gc' tag
> method from inside a lua program? I need to call a 'destructor' method
> whenever an instance of my class system is destroyed.
--
OpenPGP encrypted mail welcome.