From 9ebf6473ebfd76e64c33904bb555b5fc8435dc66 Mon Sep 17 00:00:00 2001 From: ko1 Date: Sun, 29 Jun 2008 17:26:16 +0000 Subject: * vm.c, vm_core.h,vm_core.h, vm_dump.c, iseq.c: rename class name VM -> RubyVM, and rename rb_cVM -> rb_cRubyVM. "VM" is too short name for class. * test/ruby/test_method.rb, test/ruby/test_settracefunc.rb: ditto. * include/ruby/ruby.h: rb_cRubyVM, rb_cEnv, rb_cISeq should not be exposed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- iseq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iseq.c') diff --git a/iseq.c b/iseq.c index e09c9c4ae6..24d15575e9 100644 --- a/iseq.c +++ b/iseq.c @@ -1290,7 +1290,7 @@ void Init_ISeq(void) { /* declare ::VM::InstructionSequence */ - rb_cISeq = rb_define_class_under(rb_cVM, "InstructionSequence", rb_cObject); + rb_cISeq = rb_define_class_under(rb_cRubyVM, "InstructionSequence", rb_cObject); rb_define_alloc_func(rb_cISeq, iseq_alloc); rb_define_method(rb_cISeq, "inspect", iseq_inspect, 0); rb_define_method(rb_cISeq, "disasm", ruby_iseq_disasm, 0); -- cgit v1.2.3