lua-users home
lua-l archive

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


On Fri, Dec 13, 2013 at 2:32 PM, Coda Highland <chighland@gmail.com> wrote:
> I do have a question, though, of why __gc won't work for this.

Because __gc would be for when the table went away, metatable and all,
not for when all of its elements were to be wiped away, which may be
done in different ways, depending on how the "object" was constructed.

-Andrew