summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2021-07-14 13:42:18 +1200
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2021-09-20 18:30:51 +1200
commit88ba5fe547cae2370eccbe230754f59e1d5cbaf3 (patch)
tree54a526bf459a06e24811f13b3adea52043d72903 /include
parent2e3d43e5775799d1b4d6672a3a18b3fc5777c52b (diff)
Expose `rb_fiber_raise` and tidy up the internal implementation.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4649
Diffstat (limited to 'include')
-rw-r--r--include/ruby/internal/intern/cont.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ruby/internal/intern/cont.h b/include/ruby/internal/intern/cont.h
index e1e13f637f..b0d9137dd9 100644
--- a/include/ruby/internal/intern/cont.h
+++ b/include/ruby/internal/intern/cont.h
@@ -239,6 +239,8 @@ VALUE rb_fiber_transfer(VALUE fiber, int argc, const VALUE *argv);
*/
VALUE rb_fiber_transfer_kw(VALUE fiber, int argc, const VALUE *argv, int kw_splat);
+VALUE rb_fiber_raise(VALUE fiber, int argc, VALUE *argv);
+
RBIMPL_SYMBOL_EXPORT_END()
#endif /* RBIMPL_INTERN_CONT_H */