[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Integrating Lua with Java
- From: Christian Vogler <cvogler@...>
- Date: Mon, 21 Oct 2002 00:00:16 -0400
On Sun, Oct 20, 2002 at 11:50:42PM -0400, Christian Vogler wrote:
> really need to look further into this whether it is a Lua 4 or LuaJava
> problem that the Tolua.default_gc tag method never seems to be called
> for weak references.
Argh. It just occurred to me that the reason why the GC tag method is
never called is probably that the associated object is not a userdata
object, but rather a Lua table with a non-default tag. Fixing that is
going to be a little tricky, because the code stores stuff in the
table for these kinds of objects. Any ideas or takers?