lua-users home
lua-l archive

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

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?

- Christian