lua-users home
lua-l archive

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


> > The metatable must have a __gc field when the metatable is set,
> > but you may set __gc as true for instance and change it later.
> 
> Is newproxy doing that ?

In 5.2, yes (but it uses "false" instead of "true").