method

save_exception_mode

v1_9_3_392 - Show latest stable - Class: BigDecimal
save_exception_mode()
public

No documentation available.

static VALUE
BigDecimal_save_exception_mode(VALUE self)
{
    unsigned short const exception_mode = VpGetException();
    int state;
    VALUE ret = rb_protect(rb_yield, Qnil, &state);
    VpSetException(exception_mode);
    if (state) rb_jump_tag(state);
    return ret;
}