aboutsummaryrefslogtreecommitdiffstats
path: root/transient_heap.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-30 22:03:42 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-30 22:03:42 +0000
commit198ff42258d9bfde8b2056d923510c52c957b5a1 (patch)
tree88b52dc706d767cd39f6bd26d00c33adf5cf0376 /transient_heap.h
parent873d57347fca4fc7f407c2bca45f90797ab6f864 (diff)
downloadruby-198ff42258d9bfde8b2056d923510c52c957b5a1.tar.gz
support theap for T_STRUCT.
* struct.c: members memory can use theap. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'transient_heap.h')
-rw-r--r--transient_heap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/transient_heap.h b/transient_heap.h
index 0d90e4fc56..e257a8327b 100644
--- a/transient_heap.h
+++ b/transient_heap.h
@@ -34,6 +34,7 @@ int rb_transient_heap_managed_ptr_p(const void *ptr);
/* evacuate functions */
void rb_ary_transient_heap_evacuate(VALUE ary, int promote);
-void rb_obj_transient_heap_evacuate(VALUE ary, int promote);
+void rb_obj_transient_heap_evacuate(VALUE obj, int promote);
+void rb_struct_transient_heap_evacuate(VALUE st, int promote);
#endif