summaryrefslogtreecommitdiffstats
path: root/include/ruby/encoding.h
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
commit4013c49a479e59689b6a585b8a9c2cb4c861b0db (patch)
tree3dadcfefbd2aa5ba12cb993a0e49f85b69654fdd /include/ruby/encoding.h
parent9567ecd8404fae7b11f372e07b6ab07dd468aa59 (diff)
downloadruby-4013c49a479e59689b6a585b8a9c2cb4c861b0db.tar.gz
ruby-4013c49a479e59689b6a585b8a9c2cb4c861b0db.tar.xz
ruby-4013c49a479e59689b6a585b8a9c2cb4c861b0db.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@15553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/encoding.h')
0 files changed, 0 insertions, 0 deletions