[ruby-cvs:49953] nobu:r42811 (trunk): string.c: rb_enc_str_new_cstr

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Sep 3 22:03:57 JST 2013


nobu	2013-09-03 22:03:54 +0900 (Tue, 03 Sep 2013)

  New Revision: 42811

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42811

  Log:
    string.c: rb_enc_str_new_cstr
    
    * string.c (rb_enc_str_new_cstr): new function to create a string from
      the C-string pointer with the specified encoding.

  Modified files:
    trunk/ChangeLog
    trunk/README.EXT
    trunk/README.EXT.ja
    trunk/include/ruby/encoding.h
    trunk/string.c


More information about the ruby-cvs mailing list