[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: not-tolua
- From: Lenny Palozzi <lenny.palozzi@...>
- Date: Thu, 15 Feb 2001 12:24:46 -0500
On Thu, Feb 15, 2001 at 11:56:55AM -0500, Lenny Palozzi wrote:
>
> No garbage collection? Attach a userdata object(your T*) as a hidden item in
> the Lua table, associate a new tag value to the userdata, add a "gc" tag
> method for that tag to your destructor_callback function.
Actually, you're not using tables but a plain userdata object, but you get
the idea.
-Lenny