aboutsummaryrefslogtreecommitdiffstats
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index 1f93f23197..40eb9b3b01 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -312,6 +312,10 @@ typedef struct rb_vm_struct {
/* hook */
rb_event_hook_t *event_hooks;
+
+#if defined(ENABLE_VM_OBJSPACE) && ENABLE_VM_OBJSPACE
+ struct rb_objspace *objspace;
+#endif
} rb_vm_t;
typedef struct {