[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: gc and strings
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 26 Sep 2000 20:47:32 -0300 (EST)
>I was afraid you would say that. :) I am trying to track
>down a table that seems to be disappearing. I get table A
>(checked validity with lua_istable()) from table B and then
>try to get a value from A but lua_istable() says it is no
>longer a table (lua_istable() says no).
I don't know what is wrong, but you could add a userdata field to each table
and set GC tag methods for these userdata. These will be called when the
table is collected.