mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
3d6adccfbe
`mrb_exc_protect()` takes two C functions, `body` to be executed first, and `resc` to be executed when an error happens during `body` execution. Since `mrb_exc_protect()` should be compiled with the proper compiler, we will not see the problem like #5088 that was caused by `setjmp()` and `throw` mixture.