lua-users home
lua-l archive

Re: newproxy, bug

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


On Mon, Jan 10, 2011 at 3:47 PM, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
>> Also newproxy() is currently the only way to trigger a callback
>> (via __gc) before the Lua state closes.
>
> 5.2 will allow __gc for tables.
I can't find any reference to this in http://www.lua.org/work/doc/manual.html
Has it been implemented? It's what I use newproxy() for, too, and I'd
use a __gc method on a table if I could.
Sam

AltStyle によって変換されたページ (->オリジナル) /