summaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-06 09:25:09 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-06 09:25:09 +0000
commit00efba139bf1b991879f3d37dab5bb5e66595a33 (patch)
tree9bc30b9b9b1e796388684dbeef0dd2076c1052f3 /debug.c
parent7907d9d0b2c53e8799ddd2dfd7cae17dab927885 (diff)
downloadruby-00efba139bf1b991879f3d37dab5bb5e66595a33.tar.gz
ruby-00efba139bf1b991879f3d37dab5bb5e66595a33.tar.xz
ruby-00efba139bf1b991879f3d37dab5bb5e66595a33.zip
* include/ruby/encoding.h (rb_enc_str_buf_cat): declared.
* string.c (coderange_scan): extracted from rb_enc_str_coderange. (rb_enc_str_coderange): use coderange_scan. (rb_str_shared_replace): copy encoding and coderange. (rb_enc_str_buf_cat): new function for linear complexity string accumulation with encoding. (rb_str_sub_bang): don't conflict substituted part and replacement. (str_gsub): use rb_enc_str_buf_cat. (rb_str_clear): clear coderange. * re.c (rb_reg_regsub): use rb_enc_str_buf_cat. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'debug.c')
0 files changed, 0 insertions, 0 deletions