[前][次][番号順一覧][スレッド一覧][生データ]

ruby-cvs:22790

From: naruse ruby-lang.org
Date: Wed, 20 Feb 2008 19:20:44 +0900 (JST)
Subject: [ruby-cvs:22790] Ruby:r15553 (trunk): * string.c (rb_enc_str_copy): added for wrapper for rb_enc_copy.

naruse	2008-02-20 19:20:43 +0900 (Wed, 20 Feb 2008)

  New Revision: 15553

  Modified files:
    trunk/ChangeLog
    trunk/string.c

  Log:
    * 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.

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/string.c?r1=15553&r2=15552&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15553&r2=15552&diff_format=u


[前][次][番号順一覧][スレッド一覧][生データ]