lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

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.