mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
enable documents for raise and local_variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cd047935e4
commit
e8b7ad0f5c
1 changed files with 4 additions and 4 deletions
8
eval.c
8
eval.c
|
@ -745,6 +745,8 @@ rb_interrupt(void)
|
||||||
rb_raise(rb_eInterrupt, fmt);
|
rb_raise(rb_eInterrupt, fmt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static VALUE get_errinfo(void);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* raise
|
* raise
|
||||||
|
@ -769,8 +771,6 @@ rb_interrupt(void)
|
||||||
* raise ArgumentError, "No parameters", caller
|
* raise ArgumentError, "No parameters", caller
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static VALUE get_errinfo(void);
|
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
rb_f_raise(int argc, VALUE *argv)
|
rb_f_raise(int argc, VALUE *argv)
|
||||||
{
|
{
|
||||||
|
@ -2599,6 +2599,8 @@ errat_setter(VALUE val, ID id, VALUE *var)
|
||||||
set_backtrace(err, val);
|
set_backtrace(err, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int vm_collect_local_variables_in_heap(rb_thread_t *th, VALUE *dfp, VALUE ary);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* local_variables => array
|
* local_variables => array
|
||||||
|
@ -2612,8 +2614,6 @@ errat_setter(VALUE val, ID id, VALUE *var)
|
||||||
* local_variables #=> ["fred", "i"]
|
* local_variables #=> ["fred", "i"]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int vm_collect_local_variables_in_heap(rb_thread_t *th, VALUE *dfp, VALUE ary);
|
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
rb_f_local_variables(void)
|
rb_f_local_variables(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue