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