summaryrefslogtreecommitdiff
path: root/gc/gc_impl.h
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2024-10-22 10:56:52 -0400
committerPeter Zhu <[email protected]>2024-10-23 13:18:09 -0400
commitd3aaca97850a1398920f629f8339b56e41b972ed (patch)
tree63f7ff0e1e4e52c116e447505adfa97322f7aa4f /gc/gc_impl.h
parentc0b50d05c70e81a4b806e53e99e29bf956683b3a (diff)
Make rb_gc_impl_stat_heap return a VALUE instead of size_t
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11932
Diffstat (limited to 'gc/gc_impl.h')
-rw-r--r--gc/gc_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc/gc_impl.h b/gc/gc_impl.h
index 66fdea5bab..d7ad82d5e0 100644
--- a/gc/gc_impl.h
+++ b/gc/gc_impl.h
@@ -90,7 +90,7 @@ GC_IMPL_FN unsigned long long rb_gc_impl_get_total_time(void *objspace_ptr);
GC_IMPL_FN size_t rb_gc_impl_gc_count(void *objspace_ptr);
GC_IMPL_FN VALUE rb_gc_impl_latest_gc_info(void *objspace_ptr, VALUE key);
GC_IMPL_FN VALUE rb_gc_impl_stat(void *objspace_ptr, VALUE hash_or_sym);
-GC_IMPL_FN size_t rb_gc_impl_stat_heap(void *objspace_ptr, VALUE heap_name, VALUE hash_or_sym);
+GC_IMPL_FN VALUE rb_gc_impl_stat_heap(void *objspace_ptr, VALUE heap_name, VALUE hash_or_sym);
// Miscellaneous
GC_IMPL_FN size_t rb_gc_impl_obj_flags(void *objspace_ptr, VALUE obj, ID* flags, size_t max);
GC_IMPL_FN bool rb_gc_impl_pointer_to_heap_p(void *objspace_ptr, const void *ptr);