diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/intern.h | 1 | ||||
-rw-r--r-- | include/ruby/ruby.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 37cec43d4c..a16b14f0dc 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -154,6 +154,7 @@ VALUE rb_fiber_new(VALUE (*)(ANYARGS), VALUE); VALUE rb_fiber_resume(VALUE fib, int argc, VALUE *args); VALUE rb_fiber_yield(int argc, VALUE *args); VALUE rb_fiber_current(void); +VALUE rb_fiber_alive_p(VALUE); /* enum.c */ /* enumerator.c */ VALUE rb_enumeratorize(VALUE, VALUE, int, VALUE *); diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index 80f3a56e69..72d695a2bc 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -787,7 +787,9 @@ VALUE rb_rescue(VALUE(*)(ANYARGS),VALUE,VALUE(*)(ANYARGS),VALUE); VALUE rb_rescue2(VALUE(*)(ANYARGS),VALUE,VALUE(*)(ANYARGS),VALUE,...); VALUE rb_ensure(VALUE(*)(ANYARGS),VALUE,VALUE(*)(ANYARGS),VALUE); VALUE rb_catch(const char*,VALUE(*)(ANYARGS),VALUE); +VALUE rb_catch_obj(VALUE,VALUE(*)(ANYARGS),VALUE); NORETURN(void rb_throw(const char*,VALUE)); +NORETURN(void rb_throw_obj(VALUE,VALUE)); VALUE rb_require(const char*); |