summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-10 14:57:42 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-10 14:57:42 +0000
commit4d238acd886ac75c3040495492b3dc77c2edbf9f (patch)
tree36395e1cbd520f078b7894e27f8516ec5a19c08b /internal.h
parent5d913e21d212bec151b506e2e4e28dafc0ad4877 (diff)
merge revision(s) r46501,r47372,r47460: [Backport #10191]
* object.c (rb_obj_copy_ivar): extract function to copy instance variables only for T_OBJECT from init_copy. * object.c (rb_obj_copy_ivar): allocate no memory for empty instance variables. [ruby-core:64700] [Bug #10191] * test/ruby/test_object.rb: extend timeout. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index af8e69517c..1f41d23b1b 100644
--- a/internal.h
+++ b/internal.h
@@ -595,6 +595,7 @@ rb_float_new_inline(double d)
#define rb_float_new(d) rb_float_new_inline(d)
/* object.c */
+void rb_obj_copy_ivar(VALUE dest, VALUE obj);
VALUE rb_obj_equal(VALUE obj1, VALUE obj2);
VALUE rb_class_search_ancestor(VALUE klass, VALUE super);