lua-users home
lua-l archive

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

Luiz Henrique de Figueiredo wrote:

In Lua 5.0 you can register a "panic" function that is called instead of exit.

Oh, ... but to be safe I would need to do throw/catch or longjump
myself from that function, in order to avoid the exit call. (?)

So using lua-code table access and lua_pcall seems to be the
most attractive solution for me.