exit() from Lua
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: exit() from Lua
- From: "Maciej Maczynski" <macmac@...>
- Date: 2000年6月28日 10:57:57 -0000
Hi,
First of all - I'm speaking about Lua 3.20.
lua_error function calls C exit function. Can I avoid it without modyfing
code?
I tried with lua_seterrormethod, but this does not prevent exit being
called.
It seems to me, that luaD_protectedrun sets errorJmp, which is examined in
lua_error.
But luaD_protectedrun looks pretty "unofficial"...
Maciej