summaryrefslogtreecommitdiffstats
path: root/struct.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-20 21:02:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-20 21:02:54 +0000
commitf40302aff9c06bf0b93879c05dc89291736f0481 (patch)
tree5a51148d3bb5f06025c7e1c22ce7f8825c69130b /struct.c
parent5ef87a3798b04ba845767a3115142324006d6325 (diff)
downloadruby-f40302aff9c06bf0b93879c05dc89291736f0481.tar.gz
ruby-f40302aff9c06bf0b93879c05dc89291736f0481.tar.xz
ruby-f40302aff9c06bf0b93879c05dc89291736f0481.zip
* range.c (range_initialize_copy): Range is now a Struct.
[ruby-core:18353] * struct.c (rb_struct_init_copy): made public. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'struct.c')
-rw-r--r--struct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/struct.c b/struct.c
index 83b0f7b31..add6bfa03 100644
--- a/struct.c
+++ b/struct.c
@@ -555,7 +555,7 @@ rb_struct_to_a(VALUE s)
}
/* :nodoc: */
-static VALUE
+VALUE
rb_struct_init_copy(VALUE copy, VALUE s)
{
if (copy == s) return copy;