lua-users home
lua-l archive

Re: closures and lua_atpanic

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


> What I am asking ... it is possible to have nevertheless an upvalue
> with the panic function or is it hopeless ? If it is, can I ask the Lua
> developers if they can consider this issue for the next Lua release.
You can put your "upvalue" in the registry, with any known-unique key,
so that the panic function can get it from there...
-- Roberto

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