diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-30 22:03:42 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-30 22:03:42 +0000 |
commit | 198ff42258d9bfde8b2056d923510c52c957b5a1 (patch) | |
tree | 88b52dc706d767cd39f6bd26d00c33adf5cf0376 /transient_heap.h | |
parent | 873d57347fca4fc7f407c2bca45f90797ab6f864 (diff) |
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.h | 3 |
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 |