* 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
@ -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…
x
Reference in New Issue
Block a user