lua-users home
lua-l archive

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

2008/7/18 Luiz Henrique de Figueiredo <>:
>> Given that I have a panic function, is there any benefit to using
>> lua_pcall over lua_call?
> A panic function is not a way to handle errors in your app; it's just
> what it says, a panic exit... So, use lua_pcall or lua_cpcall.

Thanks. I hadn't thought of lua_cpcall in this context. That will do
what I need.