summaryrefslogtreecommitdiff
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
commite1ebab4ed015c1c479f98595eecfc8f1bebaba6b (patch)
tree5a51148d3bb5f06025c7e1c22ce7f8825c69130b /struct.c
parent6ed5ad856c8858bd6967dc5e9e62ea356c1786dd (diff)
* range.c (range_initialize_copy): Range is now a Struct.
[ruby-core:18353] * struct.c (rb_struct_init_copy): made public. git-svn-id: svn+ssh://ci.ruby-lang.org/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 83b0f7b31b..add6bfa03d 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;