Ruby  3.1.4p223 (2023-03-30 revision HEAD)
cont.h
1 #ifndef INTERNAL_CONT_H /*-*-C-*-vi:se ft=c:*/
2 #define INTERNAL_CONT_H
11 #include "ruby/ruby.h" /* for VALUE */
12 
13 struct rb_thread_struct; /* in vm_core.h */
14 struct rb_fiber_struct; /* in cont.c */
15 
16 /* cont.c */
17 void rb_fiber_reset_root_local_storage(struct rb_thread_struct *);
18 void ruby_register_rollback_func_for_ensure(VALUE (*ensure_func)(VALUE), VALUE (*rollback_func)(VALUE));
19 void rb_fiber_init_mjit_cont(struct rb_fiber_struct *fiber);
20 
21 VALUE rb_fiberptr_self(struct rb_fiber_struct *fiber);
22 unsigned int rb_fiberptr_blocking(struct rb_fiber_struct *fiber);
23 
24 #endif /* INTERNAL_CONT_H */
uintptr_t VALUE
Type that represents a Ruby object.
Definition: value.h:40