lua-users home
lua-l archive

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


>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.
--lhf