[prev in list] [next in list] [prev in thread] [next in thread]
List: lua-l
Subject: Re: not-tolua
From: Lenny Palozzi <lenny.palozzi () home ! com>
Date: 2001-02-15 17:24:46
Message-ID: 20010215122446.A10433 () home ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic