{
bool fallthru_p = (*it)->fallthru;
wd.func = (*it)->function;
- result = scm_internal_catch(SCM_BOOL_T,
- (scm_t_catch_body)
- Interp::LazyApplyWrapper,
- static_cast<void *> (&wd),
- (scm_t_catch_handler) Interp::EmptyHandler, 0);
+ result = scm_c_with_throw_handler (SCM_BOOL_T,
+ (scm_t_catch_body)
+ Interp::LazyApplyWrapper,
+ static_cast<void *> (&wd),
+ (scm_t_catch_handler) Interp::EmptyHandler,
+ 0,
+ 0);
if (!fallthru_p)
break;
}
{
wd.func = current_timer.function;
- scm_internal_catch (SCM_BOOL_T,
- (scm_t_catch_body) Interp::LazyApplyWrapper,
- (void *)&wd,
- (scm_t_catch_handler) Interp::EmptyHandler,
- 0);
+ scm_c_with_throw_handler (SCM_BOOL_T,
+ (scm_t_catch_body) Interp::LazyApplyWrapper,
+ (void *)&wd,
+ (scm_t_catch_handler) Interp::EmptyHandler,
+ 0,
+ 0);
// The timer list may have been modified by the timer
// callback; if it has in such a way that the first queue
struct wrapper_data wd;
wd.func = scmFunc;
wd.args = args_list;
- scm_internal_catch (SCM_BOOL_T,
- (scm_t_catch_body) Interp::LazyApplyWrapper,
- (void *) &wd,
- (scm_t_catch_handler) Interp::EmptyHandler, 0);
+ scm_c_with_throw_handler (SCM_BOOL_T,
+ (scm_t_catch_body) Interp::LazyApplyWrapper,
+ (void *) &wd,
+ (scm_t_catch_handler) Interp::EmptyHandler,
+ 0,
+ 0);
}
#endif