summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/vm_core.h b/vm_core.h
index 3f1ddc80f9..d4db5d9085 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -560,6 +560,8 @@ typedef struct rb_ensure_list {
typedef char rb_thread_id_string_t[sizeof(rb_nativethread_id_t) * 2 + 3];
+typedef struct rb_fiber_struct rb_fiber_t;
+
typedef struct rb_thread_struct {
struct list_node vmlt_node;
VALUE self;
@@ -681,8 +683,8 @@ typedef struct rb_thread_struct {
struct rb_trace_arg_struct *trace_arg; /* trace information */
/* fiber */
- VALUE fiber;
- VALUE root_fiber;
+ rb_fiber_t *fiber;
+ rb_fiber_t *root_fiber;
rb_jmpbuf_t root_jmpbuf;
/* ensure & callcc */