summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index 997ed38..257bdce 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -260,6 +260,7 @@ enum ruby_special_exceptions {
ruby_error_reenter,
ruby_error_nomemory,
ruby_error_sysstack,
+ ruby_error_closed_stream,
ruby_special_error_count
};
@@ -395,6 +396,8 @@ typedef struct rb_thread_struct {
/* passing state */
int state;
+ int waiting_fd;
+
/* for rb_iterate */
const rb_block_t *passed_block;