[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: gc and strings
- From: Edgar Toernig <froese@...>
- Date: Wed, 27 Sep 2000 01:45:55 +0200
Paul Bleisch wrote:
> 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).
Just a guess: have you applied the two 1-liner patches?
The seconds one fixes a gettable bug.
< return ismarked(clvalue(o)->mark);
> return ismarked(clvalue(o));
< const TObject *h = luaH_get(L, hvalue(t), t+1);
> const TObject *h = luaH_get(L, hvalue(t), L->top-1);