mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* hash.c (rb_obj_is_proc): declaration moved for rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
757f1b135d
commit
455fbd2373
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Tue Sep 23 18:24:34 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* hash.c (rb_obj_is_proc): declaration moved for rdoc.
|
||||
|
||||
Tue Sep 23 18:07:55 2008 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* common.mk (io.o): remove dependency for vm_core.h.
|
||||
|
|
4
hash.c
4
hash.c
|
@ -612,6 +612,8 @@ rb_hash_default_proc(VALUE hash)
|
|||
return Qnil;
|
||||
}
|
||||
|
||||
VALUE rb_obj_is_proc(VALUE proc);
|
||||
|
||||
/*
|
||||
* call-seq:
|
||||
* hsh.default_proc = proc_obj => proc_obj
|
||||
|
@ -625,8 +627,6 @@ rb_hash_default_proc(VALUE hash)
|
|||
* h["cat"] #=> "catcat"
|
||||
*/
|
||||
|
||||
VALUE rb_obj_is_proc(VALUE proc);
|
||||
|
||||
static VALUE
|
||||
rb_hash_set_default_proc(VALUE hash, VALUE proc)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue