"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "proc.c" between
ruby-2.7.3.tar.gz and ruby-2.7.4.tar.gz

About: Ruby is an interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). Stable release of 2.7 series.

proc.c  (ruby-2.7.3):proc.c  (ruby-2.7.4)
skipping to change at line 3044 skipping to change at line 3044
method_super_method(VALUE method) method_super_method(VALUE method)
{ {
const struct METHOD *data; const struct METHOD *data;
VALUE super_class, iclass; VALUE super_class, iclass;
ID mid; ID mid;
const rb_method_entry_t *me; const rb_method_entry_t *me;
TypedData_Get_Struct(method, struct METHOD, &method_data_type, data); TypedData_Get_Struct(method, struct METHOD, &method_data_type, data);
iclass = data->iclass; iclass = data->iclass;
if (!iclass) return Qnil; if (!iclass) return Qnil;
if (data->me->def->type == VM_METHOD_TYPE_ALIAS) { if (data->me->def->type == VM_METHOD_TYPE_ALIAS && data->me->defined_class) {
super_class = RCLASS_SUPER(rb_find_defined_class_by_owner(data->me->defi ned_class, super_class = RCLASS_SUPER(rb_find_defined_class_by_owner(data->me->defi ned_class,
data->me->def->body.alias.original_me->owner)); data->me->def->body.alias.original_me->owner));
mid = data->me->def->body.alias.original_me->def->original_id; mid = data->me->def->body.alias.original_me->def->original_id;
} }
else { else {
super_class = RCLASS_SUPER(RCLASS_ORIGIN(iclass)); super_class = RCLASS_SUPER(RCLASS_ORIGIN(iclass));
mid = data->me->def->original_id; mid = data->me->def->original_id;
} }
if (!super_class) return Qnil; if (!super_class) return Qnil;
me = (rb_method_entry_t *)rb_callable_method_entry_with_refinements(super_cl ass, mid, &iclass); me = (rb_method_entry_t *)rb_callable_method_entry_with_refinements(super_cl ass, mid, &iclass);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)