lua-users home
lua-l archive

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


> Open question: should __close be called after or before the "message
> handler" for lua_pcall? I think after makes sense as the handler may
> want to look at the open objects on the stack.

It is not open, this question. When the message handler is called, the
local is still in scope. The call happens when it goes out of scope.

-- Roberto