diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-22 01:55:10 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-22 01:55:10 +0000 |
commit | 61cddf23421d4d0e3b414f99c13a570d822c57c5 (patch) | |
tree | 2a8312c38f087d1a188fb31004c7657c3629969a /template/optunifs.inc.tmpl | |
parent | 25ff76c3babe83980fd9d7c7f70244bcf238cfc8 (diff) | |
download | ruby-61cddf23421d4d0e3b414f99c13a570d822c57c5.tar.gz |
object.c: refactor rb_obj_clone and rb_obj_clone2
* object.c (rb_obj_clone2): extract option for clone, and split by
whether the object is immutable or mutable.
* object.c (rb_obj_clone): no arguments, return immutable object
immediately.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template/optunifs.inc.tmpl')
0 files changed, 0 insertions, 0 deletions