mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Expose rb_fiber_transfer
and rb_fiber_transfer_kw
.
This commit is contained in:
parent
7e14762159
commit
dc25412042
Notes:
git
2021-06-03 17:47:51 +09:00
2 changed files with 12 additions and 7 deletions
|
@ -28,13 +28,18 @@ RBIMPL_SYMBOL_EXPORT_BEGIN()
|
|||
|
||||
/* cont.c */
|
||||
VALUE rb_fiber_new(rb_block_call_func_t, VALUE);
|
||||
VALUE rb_fiber_resume(VALUE fib, int argc, const VALUE *argv);
|
||||
VALUE rb_fiber_resume_kw(VALUE fib, int argc, const VALUE *argv, int kw_splat);
|
||||
VALUE rb_fiber_yield(int argc, const VALUE *argv);
|
||||
VALUE rb_fiber_yield_kw(int argc, const VALUE *argv, int kw_splat);
|
||||
VALUE rb_fiber_current(void);
|
||||
VALUE rb_fiber_alive_p(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);
|
||||
|
||||
VALUE rb_fiber_yield(int argc, const VALUE *argv);
|
||||
VALUE rb_fiber_yield_kw(int argc, const VALUE *argv, int kw_splat);
|
||||
|
||||
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);
|
||||
|
||||
RBIMPL_SYMBOL_EXPORT_END()
|
||||
|
||||
#endif /* RBIMPL_INTERN_CONT_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue