ruby-changes:3037
From: ko1@a...
Date: 24 Dec 2007 00:43:08 +0900
Subject: [ruby-changes:3037] akr - Ruby:r14529 (trunk): enable documents for raise and local_variables.
akr 2007-12-24 00:43:00 +0900 (Mon, 24 Dec 2007) New Revision: 14529 Modified files: trunk/eval.c Log: enable documents for raise and local_variables. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/eval.c?r1=14529&r2=14528 Index: eval.c =================================================================== --- eval.c (revision 14528) +++ eval.c (revision 14529) @@ -745,6 +745,8 @@ rb_raise(rb_eInterrupt, fmt); } +static VALUE get_errinfo(void); + /* * call-seq: * raise @@ -769,8 +771,6 @@ * raise ArgumentError, "No parameters", caller */ -static VALUE get_errinfo(void); - static VALUE rb_f_raise(int argc, VALUE *argv) { @@ -2599,6 +2599,8 @@ set_backtrace(err, val); } +int vm_collect_local_variables_in_heap(rb_thread_t *th, VALUE *dfp, VALUE ary); + /* * call-seq: * local_variables => array @@ -2612,8 +2614,6 @@ * local_variables #=> ["fred", "i"] */ -int vm_collect_local_variables_in_heap(rb_thread_t *th, VALUE *dfp, VALUE ary); - static VALUE rb_f_local_variables(void) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml