mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* vm.c (vm_backtrace_each): now takes an iterator function.
* vm_core.h (rb_make_backtrace, rb_backtrace_each): added prototypes. * vm_dump.c (rb_vm_bugreport), vm_eval.c (rb_backtrace): gets rid of allocating objects. * vm_eval.c (rb_backtrace_each): new function which iterates over each backtrace info. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1c4e92c185
commit
a7b5c603b4
6 changed files with 76 additions and 57 deletions
1
eval.c
1
eval.c
|
@ -330,7 +330,6 @@ rb_frozen_class_p(VALUE klass)
|
|||
}
|
||||
|
||||
NORETURN(static void rb_longjmp(int, VALUE));
|
||||
VALUE rb_make_backtrace(void);
|
||||
|
||||
static void
|
||||
rb_longjmp(int tag, VALUE mesg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue