[ruby-cvs:54787] nobu:r47639 (trunk): string.c: rb_str_new_static

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Sep 19 14:53:01 JST 2014


nobu	2014-09-19 14:53:00 +0900 (Fri, 19 Sep 2014)

  New Revision: 47639

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

  Log:
    string.c: rb_str_new_static
    
    * string.c (rb_str_new_static): create string object with static
      buffer.  incorporated from mruby.
    
    * string.c (rb_{usascii,utf8,enc}_str_new_static): ditto with
      encodings.

  Modified files:
    trunk/include/ruby/encoding.h
    trunk/include/ruby/intern.h
    trunk/string.c


More information about the ruby-cvs mailing list