mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm.c (vm_stat): renamed from ruby_vm_stat.
Should not use ruby_ prefix here. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e23627c047
commit
5dc77048a3
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Dec 9 18:10:10 2013 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* 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@ruby-lang.org>
|
||||
|
||||
* gc.c (wmap_size): add ObjectSpace::WeakMap#size and #length.
|
||||
|
|
4
vm.c
4
vm.c
|
@ -136,7 +136,7 @@ rb_vm_inc_const_missing_count(void)
|
|||
*/
|
||||
|
||||
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)
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue