ruby-changes:66959
From: Peter <ko1@a...>
Date: Thu, 29 Jul 2021 02:51:48 +0900 (JST)
Subject: [ruby-changes:66959] f06f1981e2 (master): Don't export rb_gc_ractor_newobj_cache_clear
https://git.ruby-lang.org/ruby.git/commit/?id=f06f1981e2 From f06f1981e2cca07227c8af13292c754c0417a74f Mon Sep 17 00:00:00 2001 From: Peter Zhu <peter.zhu@s...> Date: Wed, 28 Jul 2021 13:11:27 -0400 Subject: Don't export rb_gc_ractor_newobj_cache_clear --- internal/gc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/gc.h b/internal/gc.h index ba2882a..42d82aa 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 https://github.com/ruby/ruby/blob/trunk/internal/gc.h#L102 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 https://github.com/ruby/ruby/blob/trunk/internal/gc.h#L121 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 -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/