[前][次][番号順一覧][スレッド一覧]

ruby-changes:65134

From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Thu, 4 Feb 2021 12:35:38 +0900 (JST)
Subject: [ruby-changes:65134] b0d6563f13 (master): rb_clear_method_cache_by_class: no longer exist

https://git.ruby-lang.org/ruby.git/commit/?id=b0d6563f13

From b0d6563f131d98f72c508199e5e3bc8da80b90ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?=
 <shyouhei@r...>
Date: Thu, 4 Feb 2021 12:34:19 +0900
Subject: rb_clear_method_cache_by_class: no longer exist

It is questionable whether we can change a public API but this function
does not exist today.  No way.
---
 include/ruby/internal/intern/vm.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/ruby/internal/intern/vm.h b/include/ruby/internal/intern/vm.h
index 706f160..298a6ad 100644
--- a/include/ruby/internal/intern/vm.h
+++ b/include/ruby/internal/intern/vm.h
@@ -52,7 +52,6 @@ void rb_define_alloc_func(VALUE, rb_alloc_func_t); https://github.com/ruby/ruby/blob/trunk/include/ruby/internal/intern/vm.h#L52
 void rb_undef_alloc_func(VALUE);
 rb_alloc_func_t rb_get_alloc_func(VALUE);
 void rb_clear_constant_cache(void);
-void rb_clear_method_cache_by_class(VALUE);
 void rb_alias(VALUE, ID, ID);
 void rb_attr(VALUE,ID,int,int,int);
 int rb_method_boundp(VALUE, ID, int);
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]