lua-users home
lua-l archive

Re: simplest way to trap error in lua?

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


Rici Lake wrote:
<snip>
Experiments in C have convinced me that setjmp/longjmp exception
handling is quite reasonable, and often outperforms c++ exceptions.
</snip>
On which OS and which compiler?
I have been using try/catch in place of setjmp/longjmp on Windows so
that C++ destructors unwind in function bindings.
db

AltStyle によって変換されたページ (->オリジナル) /