summaryrefslogtreecommitdiff
path: root/internal/gc.h
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2024-03-18 14:53:24 -0400
committerPeter Zhu <[email protected]>2024-03-18 16:39:04 -0400
commit3f5f04afa779622ba02b7ad4b69b15b136c249a0 (patch)
tree5d0b08a617de4fa960f0aaea8be3cd0cd68187c4 /internal/gc.h
parent0b34b75ba1d1a18551cc918cdc89183fcddcf2ca (diff)
Remove duplicated function prototype rb_gc_disable_no_rest
Diffstat (limited to 'internal/gc.h')
-rw-r--r--internal/gc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/gc.h b/internal/gc.h
index e84fa9dd0c..bf248bc002 100644
--- a/internal/gc.h
+++ b/internal/gc.h
@@ -215,7 +215,6 @@ static inline void *ruby_sized_xrealloc_inlined(void *ptr, size_t new_size, size
static inline void *ruby_sized_xrealloc2_inlined(void *ptr, size_t new_count, size_t elemsiz, size_t old_count) RUBY_ATTR_RETURNS_NONNULL RUBY_ATTR_ALLOC_SIZE((2, 3));
static inline void ruby_sized_xfree_inlined(void *ptr, size_t size);
void rb_gc_ractor_newobj_cache_clear(rb_ractor_newobj_cache_t *newobj_cache);
-size_t rb_gc_obj_slot_size(VALUE obj);
bool rb_gc_size_allocatable_p(size_t size);
size_t *rb_gc_size_pool_sizes(void);
size_t rb_gc_size_pool_id_for_size(size_t size);