ruby-changes:29058
From: nobu <ko1@a...>
Date: Thu, 6 Jun 2013 23:40:47 +0900 (JST)
Subject: [ruby-changes:29058] nobu:r41110 (trunk): vm_method.c: change argument of set_visibility
nobu 2013-06-06 23:40:35 +0900 (Thu, 06 Jun 2013) New Revision: 41110 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41110 Log: vm_method.c: change argument of set_visibility * vm_method.c (set_visibility): use rb_method_flag_t as well as set_method_visibility() and rename argument. Modified files: trunk/vm_method.c Index: vm_method.c =================================================================== --- vm_method.c (revision 41109) +++ vm_method.c (revision 41110) @@ -1291,14 +1291,14 @@ set_method_visibility(VALUE self, int ar https://github.com/ruby/ruby/blob/trunk/vm_method.c#L1291 } static VALUE -set_visibility(int argc, VALUE *argv, VALUE module, int visi) +set_visibility(int argc, VALUE *argv, VALUE module, rb_method_flag_t ex) { secure_visibility(module); if (argc == 0) { - SCOPE_SET(visi); + SCOPE_SET(ex); } else { - set_method_visibility(module, argc, argv, visi); + set_method_visibility(module, argc, argv, ex); } return module; } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/