aboutsummaryrefslogtreecommitdiffstats
path: root/encoding.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-20 10:20:43 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-20 10:20:43 +0000
commit492f431a46b5742e0c741fb0345e3279661a5762 (patch)
tree3dadcfefbd2aa5ba12cb993a0e49f85b69654fdd /encoding.c
parent96ada56fb9caf72b3ef451f251cf876c6bec3d7e (diff)
downloadruby-492f431a46b5742e0c741fb0345e3279661a5762.tar.gz
* string.c (rb_enc_str_copy): added for wrapper for rb_enc_copy.
this also copy coderange when ptr and len is equal. * string.c (rb_enc_cr_str_copy): added for wrapper for rb_enc_copy. this always copy coderange. * string.c (str_replace_shared): use rb_enc_str_copy. * string.c (str_new3): don't rb_enc_copy because encoding is copied at str_replace_shared. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'encoding.c')
0 files changed, 0 insertions, 0 deletions