From 514715250a2a4d69ea0a4ce3123e2e2f558f3109 Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 26 Apr 2008 12:52:25 +0000 Subject: * include/ruby/intern.h (rb_hash_dup): declared. * hash.c (rb_hash_dup): new function. * process.c (rb_spawn_internal): don't modify option hash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/intern.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 5272079df7..4df92419b4 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -344,6 +344,7 @@ void st_foreach_safe(struct st_table *, int (*)(ANYARGS), st_data_t); void rb_hash_foreach(VALUE, int (*)(ANYARGS), VALUE); VALUE rb_hash(VALUE); VALUE rb_hash_new(void); +VALUE rb_hash_dup(VALUE); VALUE rb_hash_freeze(VALUE); VALUE rb_hash_aref(VALUE, VALUE); VALUE rb_hash_lookup(VALUE, VALUE); -- cgit v1.2.3