diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-23 02:33:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-23 02:33:15 +0000 |
commit | cf3890205fc657119a5dd7d94955122b0cfa00f2 (patch) | |
tree | 11fdbab3385b8bbf7bdd5e38cfc28e30051c67c9 /internal.h | |
parent | 972046f084ee6954fbe70dbbc4b0e3282391c4ef (diff) | |
download | ruby-cf3890205fc657119a5dd7d94955122b0cfa00f2.tar.gz |
object.c: rb_obj_copy_ivar
* object.c (rb_obj_copy_ivar): extract function to copy instance
variables only for T_OBJECT from init_copy.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h index fc0f0d573e..04aa693741 100644 --- a/internal.h +++ b/internal.h @@ -733,6 +733,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); |