[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: 'gc' tag method
- From: John Belmonte <jvb@...>
- Date: Thu, 21 Mar 2002 23:06:37 +0900
Take a look at the section "Safe Object Destructors" in my Lua technical
note on weak references (http://www.lua.org/notes/ltn006.html).
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.