mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Add mrb_fiber_alive_p to C API.
This commit is contained in:
@@ -1225,6 +1225,13 @@ MRB_API mrb_value mrb_fiber_resume(mrb_state *mrb, mrb_value fib, mrb_int argc,
|
||||
*/
|
||||
MRB_API mrb_value mrb_fiber_yield(mrb_state *mrb, mrb_int argc, const mrb_value *argv);
|
||||
|
||||
/*
|
||||
* Check if a Fiber is alive
|
||||
*
|
||||
* @mrbgem mruby-fiber
|
||||
*/
|
||||
MRB_API mrb_value mrb_fiber_alive_p(mrb_state *mrb, mrb_value fib);
|
||||
|
||||
/*
|
||||
* FiberError reference
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user