Re: Missing error message in panic handler / calling luaD_throw without error message on stack
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Missing error message in panic handler / calling luaD_throw without error message on stack
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2014年11月10日 22:13:21 -0200
> I believe that wrapping all calls in lua_pcall might be annoying
> overhead in some other scenarios as well, e.g. if more than one Lua
> machine is created and if operations are performed on those machines
> in turn.
No one is suggesting that every call to the Lua API must be wrapped
in lua_pcall, but rather that a large chunk of calls be wrapped by
a single call to lua_pcall.