summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-09 09:12:23 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-09 09:12:23 +0000
commit5dc77048a3854a74113c62f2d942f3a45d9ad9bf (patch)
tree3a4bb4612a3bf0ba14a979e2b768b47c585ee23f /vm.c
parente23627c047e4c59cd3a8baf3f42bb6a5eddf60d6 (diff)
* 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
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm.c b/vm.c
index 6af1bf1..b47d0c2 100644
--- a/vm.c
+++ b/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);