From 2a4c87dc31b3774b8f8f2ab7b74f6d864f41a804 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 28 Jan 2019 11:45:21 +0000 Subject: Add refinements support to method/instance_method. [Fix GH-2034] From: manga_osyo git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- method.h | 1 + 1 file changed, 1 insertion(+) (limited to 'method.h') diff --git a/method.h b/method.h index 771e77e889..fdf234c8b4 100644 --- a/method.h +++ b/method.h @@ -196,6 +196,7 @@ rb_method_entry_t *rb_method_entry_create(ID called_id, VALUE klass, rb_method_v const rb_method_entry_t *rb_method_entry_at(VALUE obj, ID id); const rb_method_entry_t *rb_method_entry(VALUE klass, ID id); +const rb_method_entry_t *rb_method_entry_with_refinements(VALUE klass, ID id, VALUE *defined_class); const rb_method_entry_t *rb_method_entry_without_refinements(VALUE klass, ID id, VALUE *defined_class); const rb_method_entry_t *rb_resolve_refined_method(VALUE refinements, const rb_method_entry_t *me); RUBY_SYMBOL_EXPORT_BEGIN -- cgit v1.2.3