mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
make a func static.
* vm_method.c (rb_resolve_refined_method_callable): make it static. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f4cb93adca
commit
b453fc2cb9
2 changed files with 1 additions and 2 deletions
1
method.h
1
method.h
|
@ -194,7 +194,6 @@ const rb_method_entry_t *rb_resolve_refined_method(VALUE refinements, const rb_m
|
|||
const rb_callable_method_entry_t *rb_callable_method_entry(VALUE klass, ID id);
|
||||
const rb_callable_method_entry_t *rb_callable_method_entry_with_refinements(VALUE klass, ID id, VALUE *defined_class);
|
||||
const rb_callable_method_entry_t *rb_callable_method_entry_without_refinements(VALUE klass, ID id, VALUE *defined_class);
|
||||
const rb_callable_method_entry_t *rb_resolve_refined_method_callable(VALUE refinements, const rb_callable_method_entry_t *me);
|
||||
|
||||
int rb_method_entry_arity(const rb_method_entry_t *me);
|
||||
int rb_method_entry_eq(const rb_method_entry_t *m1, const rb_method_entry_t *m2);
|
||||
|
|
|
@ -936,7 +936,7 @@ rb_resolve_refined_method(VALUE refinements, const rb_method_entry_t *me)
|
|||
return resolve_refined_method(refinements, me, NULL);
|
||||
}
|
||||
|
||||
const rb_callable_method_entry_t *
|
||||
static const rb_callable_method_entry_t *
|
||||
rb_resolve_refined_method_callable(VALUE refinements, const rb_callable_method_entry_t *me)
|
||||
{
|
||||
VALUE defined_class = me->defined_class;
|
||||
|
|
Loading…
Reference in a new issue