1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* vm_backtrace.c: rename Class name from

::RubyVM::Backtrace and ::RubyVM::Backtrace::Location
  to ::Thread::Backtrace and ::Thread::Backtrace::Location.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2012-11-28 19:46:44 +00:00
parent c5c1d8c236
commit 0fe2051c93
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
Thu Nov 29 04:45:17 2012 Koichi Sasada <ko1@atdot.net>
* vm_backtrace.c: rename Class name from
::RubyVM::Backtrace and ::RubyVM::Backtrace::Location
to ::Thread::Backtrace and ::Thread::Backtrace::Location.
Wed Nov 28 23:52:02 2012 Masaya Tarui <tarui@ruby-lang.org>
* NEWS (Thread) remove incompatible changes about trap.

View file

@ -803,7 +803,7 @@ void
Init_vm_backtrace(void)
{
/* ::RubyVM::Backtrace */
rb_cBacktrace = rb_define_class_under(rb_cRubyVM, "Backtrace", rb_cObject);
rb_cBacktrace = rb_define_class_under(rb_cThread, "Backtrace", rb_cObject);
rb_define_alloc_func(rb_cBacktrace, backtrace_alloc);
rb_undef_method(CLASS_OF(rb_cBacktrace), "new");
rb_marshal_define_compat(rb_cBacktrace, rb_cArray, backtrace_dump_data, backtrace_load_data);