зеркало из https://github.com/github/ruby.git
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:
Родитель
f4cb93adca
Коммит
b453fc2cb9
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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче