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, 2 insertions, 4 deletions
diff --git a/vm_core.h b/vm_core.h
index 39dce05c99..44b63ea43f 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -364,10 +364,8 @@ typedef struct rb_vm_struct {
struct st_table *loading_table;
/* signal */
- struct {
- VALUE cmd;
- int safe;
- } trap_list[RUBY_NSIG];
+ VALUE trap_list_cmds; /* an Array object */
+ int trap_list_safes[RUBY_NSIG];
/* hook */
rb_hook_list_t event_hooks;