Skip to content

Commit

Permalink
* hash.c (rb_obj_is_proc): declaration moved for rdoc.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
akr committed Sep 23, 2008
1 parent 757f1b1 commit 455fbd2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
{
Expand Down

0 comments on commit 455fbd2

Please sign in to comment.