lua-users home
lua-l archive

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


> 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.