ruby-changes:32016
From: ko1 <ko1@a...>
Date: Mon, 9 Dec 2013 18:12:30 +0900 (JST)
Subject: [ruby-changes:32016] ko1:r44095 (trunk): * vm.c (vm_stat): renamed from ruby_vm_stat.
ko1 2013-12-09 18:12:23 +0900 (Mon, 09 Dec 2013) New Revision: 44095 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44095 Log: * vm.c (vm_stat): renamed from ruby_vm_stat. Should not use ruby_ prefix here. Modified files: trunk/ChangeLog trunk/vm.c Index: ChangeLog =================================================================== --- ChangeLog (revision 44094) +++ ChangeLog (revision 44095) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Dec 9 18:10:10 2013 Koichi Sasada <ko1@a...> + + * vm.c (vm_stat): renamed from ruby_vm_stat. + Should not use ruby_ prefix here. + Mon Dec 9 16:13:31 2013 Nobuyoshi Nakada <nobu@r...> * gc.c (wmap_size): add ObjectSpace::WeakMap#size and #length. Index: vm.c =================================================================== --- vm.c (revision 44094) +++ vm.c (revision 44095) @@ -136,7 +136,7 @@ rb_vm_inc_const_missing_count(void) https://github.com/ruby/ruby/blob/trunk/vm.c#L136 */ static VALUE -ruby_vm_stat(int argc, VALUE *argv, VALUE self) +vm_stat(int argc, VALUE *argv, VALUE self) { static VALUE sym_method_serial, sym_constant_serial, sym_class_serial; VALUE arg = Qnil; @@ -2360,7 +2360,7 @@ Init_VM(void) https://github.com/ruby/ruby/blob/trunk/vm.c#L2360 rb_cRubyVM = rb_define_class("RubyVM", rb_cObject); rb_undef_alloc_func(rb_cRubyVM); rb_undef_method(CLASS_OF(rb_cRubyVM), "new"); - rb_define_singleton_method(rb_cRubyVM, "stat", ruby_vm_stat, -1); + rb_define_singleton_method(rb_cRubyVM, "stat", vm_stat, -1); /* FrozenCore (hidden) */ fcore = rb_class_new(rb_cBasicObject); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/