summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/vm.c b/vm.c
index af29665..830e66c 100644
--- a/vm.c
+++ b/vm.c
@@ -305,6 +305,7 @@ env_memsize(const void *ptr)
static const rb_data_type_t env_data_type = {
"VM/env",
{env_mark, env_free, env_memsize,},
+ NULL, NULL, RUBY_TYPED_FREE_IMMEDIATELY
};
static VALUE
@@ -1686,6 +1687,7 @@ vm_memsize(const void *ptr)
static const rb_data_type_t vm_data_type = {
"VM",
{rb_vm_mark, vm_free, vm_memsize,},
+ NULL, NULL, RUBY_TYPED_FREE_IMMEDIATELY
};
@@ -1963,6 +1965,7 @@ const rb_data_type_t ruby_threadptr_data_type = {
thread_free,
thread_memsize,
},
+ NULL, NULL, RUBY_TYPED_FREE_IMMEDIATELY
};
VALUE