[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Safe lua_gettable (in 5.0a)
- From: Eero Pajarre <epajarre@...>
- Date: Sun, 17 Nov 2002 10:58:33 +0200
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.