mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Use consistent style [ci skip]
This commit is contained in:
parent
bb0ec7df32
commit
f28e79caaa
5 changed files with 12 additions and 6 deletions
|
@ -1385,12 +1385,14 @@ callable_method_entry_or_negative(VALUE klass, ID mid, VALUE *defined_class_ptr)
|
|||
// This is exposed for YJIT so that we can make assumptions that methods are
|
||||
// not defined.
|
||||
const rb_callable_method_entry_t *
|
||||
rb_callable_method_entry_or_negative(VALUE klass, ID mid) {
|
||||
rb_callable_method_entry_or_negative(VALUE klass, ID mid)
|
||||
{
|
||||
return callable_method_entry_or_negative(klass, mid, NULL);
|
||||
}
|
||||
|
||||
static const rb_callable_method_entry_t *
|
||||
callable_method_entry(VALUE klass, ID mid, VALUE *defined_class_ptr) {
|
||||
callable_method_entry(VALUE klass, ID mid, VALUE *defined_class_ptr)
|
||||
{
|
||||
const rb_callable_method_entry_t *cme;
|
||||
cme = callable_method_entry_or_negative(klass, mid, defined_class_ptr);
|
||||
return !UNDEFINED_METHOD_ENTRY_P(cme) ? cme : NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue