1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Expose rb_obj_is_fiber.

This commit is contained in:
Samuel Williams 2021-07-13 18:46:32 +12:00
parent 84fea8ee39
commit 9df712a0e2
Notes: git 2021-07-13 16:29:10 +09:00
2 changed files with 1 additions and 1 deletions

View file

@ -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);

View file

@ -15,7 +15,6 @@ struct rb_thread_struct; /* in vm_core.h */
struct rb_fiber_struct; /* in cont.c */
/* cont.c */
VALUE rb_obj_is_fiber(VALUE);
void rb_fiber_reset_root_local_storage(struct rb_thread_struct *);
void ruby_register_rollback_func_for_ensure(VALUE (*ensure_func)(VALUE), VALUE (*rollback_func)(VALUE));
void rb_fiber_init_mjit_cont(struct rb_fiber_struct *fiber);