lua-users home
lua-l archive

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

lua_gc now takes the LUA_COUNTB value.
for completeness, should collectgarbage() also have this same


On 1/13/06, Roberto Ierusalimschy <> wrote:
> > Is the change intentional or a bug?
> It was intentional, but I guess it became a bug :) During the
> development of 5.1 we planned to change the semantics of getn/setn (so
> the changes in the implementation). With the new #, that change lost its
> meaning. As you said, there is no point to change the behavior for a
> feature whose sole purpose is to provide backward compatibility.
> We will correct that.
> -- Roberto