From 198ff42258d9bfde8b2056d923510c52c957b5a1 Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 30 Oct 2018 22:03:42 +0000 Subject: 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 --- transient_heap.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'transient_heap.h') 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 -- cgit v1.2.3