Project

General

Profile

Misc #11649

[Refactor] Use `rb_method_visibility_t` instead of `int` in `rb_print_undef`

Added by yui-knk (Kaneko Yuichiro) almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
[ruby-core:<unknown>]

Description

See also https://github.com/ruby/ruby/pull/1078.

Same as rb_print_inaccessible, change rb_print_undef to use rb_method_visibility_t.

Please let me merge this patch.


Files

Associated revisions

Revision 5cf9b65a
Added by yui-knk (Kaneko Yuichiro) over 3 years ago

Use rb_method_visibility_t instead of int in rb_print_undef

  • eval_error.c (rb_print_undef): Use rb_method_visibility_t instead of int.
  • eval_intern.h (rb_print_undef): ditto
  • proc.c (mnew_internal): ditto
  • vm_method.c (rb_export_method): ditto [Misc #11649] [ruby-core:71311] [fix GH-1078]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 53416
Added by yui-knk (Kaneko Yuichiro) over 3 years ago

Use rb_method_visibility_t instead of int in rb_print_undef

  • eval_error.c (rb_print_undef): Use rb_method_visibility_t instead of int.
  • eval_intern.h (rb_print_undef): ditto
  • proc.c (mnew_internal): ditto
  • vm_method.c (rb_export_method): ditto [Misc #11649] [ruby-core:71311] [fix GH-1078]

Revision 53416
Added by yui-knk (Kaneko Yuichiro) over 3 years ago

Use rb_method_visibility_t instead of int in rb_print_undef

  • eval_error.c (rb_print_undef): Use rb_method_visibility_t instead of int.
  • eval_intern.h (rb_print_undef): ditto
  • proc.c (mnew_internal): ditto
  • vm_method.c (rb_export_method): ditto [Misc #11649] [ruby-core:71311] [fix GH-1078]

Revision 53416
Added by yui-knk (Kaneko Yuichiro) over 3 years ago

Use rb_method_visibility_t instead of int in rb_print_undef

  • eval_error.c (rb_print_undef): Use rb_method_visibility_t instead of int.
  • eval_intern.h (rb_print_undef): ditto
  • proc.c (mnew_internal): ditto
  • vm_method.c (rb_export_method): ditto [Misc #11649] [ruby-core:71311] [fix GH-1078]

Revision 53416
Added by yui-knk (Kaneko Yuichiro) over 3 years ago

Use rb_method_visibility_t instead of int in rb_print_undef

  • eval_error.c (rb_print_undef): Use rb_method_visibility_t instead of int.
  • eval_intern.h (rb_print_undef): ditto
  • proc.c (mnew_internal): ditto
  • vm_method.c (rb_export_method): ditto [Misc #11649] [ruby-core:71311] [fix GH-1078]

History

Updated by yui-knk (Kaneko Yuichiro) over 3 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF