summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Zhu <peter.zhu@shopify.com>2021-07-28 13:11:27 -0400
committerPeter Zhu <peter@peterzhu.ca>2021-07-28 13:51:22 -0400
commitf06f1981e2cca07227c8af13292c754c0417a74f (patch)
tree43a69142d72fcb493120115cd798bf3b319ada3e
parentfa0279d947c3962c3f8c32852278d3ebb964cb19 (diff)
Don't export rb_gc_ractor_newobj_cache_clear
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4690
-rw-r--r--internal/gc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/gc.h b/internal/gc.h
index ba2882af13..42d82aac76 100644
--- a/internal/gc.h
+++ b/internal/gc.h
@@ -102,6 +102,7 @@ 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);
VALUE rb_class_allocate_instance(VALUE klass);
+void rb_gc_ractor_newobj_cache_clear(rb_ractor_newobj_cache_t *newobj_cache);
RUBY_SYMBOL_EXPORT_BEGIN
/* gc.c (export) */
@@ -120,7 +121,6 @@ void *ruby_sized_xrealloc(void *ptr, size_t new_size, size_t old_size) RUBY_ATTR
void *ruby_sized_xrealloc2(void *ptr, size_t new_count, size_t element_size, size_t old_count) RUBY_ATTR_RETURNS_NONNULL RUBY_ATTR_ALLOC_SIZE((2, 3));
void ruby_sized_xfree(void *x, size_t size);
int rb_slot_size(void);
-void rb_gc_ractor_newobj_cache_clear(rb_ractor_newobj_cache_t *newobj_cache);
RUBY_SYMBOL_EXPORT_END
MJIT_SYMBOL_EXPORT_BEGIN