summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2021-07-13 18:46:32 +1200
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2021-07-13 19:28:40 +1200
commit9df712a0e2013018bf44be71404ffc17dce21744 (patch)
treef6f1a4faa676afff47b99e8f6f6cccd4edac36dd /include
parent84fea8ee39249ff9e7a03c407e5d16ad93074f3e (diff)
Expose `rb_obj_is_fiber`.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4646
Diffstat (limited to 'include')
-rw-r--r--include/ruby/internal/intern/cont.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/internal/intern/cont.h b/include/ruby/internal/intern/cont.h
index 54adb3dcdd..cb651e682e 100644
--- a/include/ruby/internal/intern/cont.h
+++ b/include/ruby/internal/intern/cont.h
@@ -30,6 +30,7 @@ RBIMPL_SYMBOL_EXPORT_BEGIN()
VALUE rb_fiber_new(rb_block_call_func_t, VALUE);
VALUE rb_fiber_current(void);
VALUE rb_fiber_alive_p(VALUE);
+VALUE rb_obj_is_fiber(VALUE);
VALUE rb_fiber_resume(VALUE fiber, int argc, const VALUE *argv);
VALUE rb_fiber_resume_kw(VALUE fiber, int argc, const VALUE *argv, int kw_splat);