ruby-changes:3759
From: ko1@a...
Date: Sat, 26 Jan 2008 09:30:43 +0900 (JST)
Subject: [ruby-changes:3759] nobu - Ruby:r15248 (trunk): * include/ruby/encoding.h (rb_usascii_encindex): added prototype.
nobu 2008-01-26 09:30:28 +0900 (Sat, 26 Jan 2008) New Revision: 15248 Modified files: trunk/ChangeLog trunk/include/ruby/encoding.h trunk/include/ruby/intern.h Log: * include/ruby/encoding.h (rb_usascii_encindex): added prototype. * include/ruby/intern.h (rb_usascii_str_new, rb_usascii_str_new2): ditto. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15248&r2=15247&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/include/ruby/encoding.h?r1=15248&r2=15247&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/include/ruby/intern.h?r1=15248&r2=15247&diff_format=u Index: include/ruby/intern.h =================================================================== --- include/ruby/intern.h (revision 15247) +++ include/ruby/intern.h (revision 15248) @@ -499,6 +499,8 @@ VALUE rb_str_buf_new(long); VALUE rb_str_buf_new2(const char*); VALUE rb_str_tmp_new(long); +VALUE rb_usascii_str_new(const char*, long); +VALUE rb_usascii_str_new2(const char*); void rb_str_free(VALUE); void rb_str_shared_replace(VALUE, VALUE); VALUE rb_str_buf_append(VALUE, VALUE); Index: include/ruby/encoding.h =================================================================== --- include/ruby/encoding.h (revision 15247) +++ include/ruby/encoding.h (revision 15248) @@ -163,6 +163,7 @@ rb_encoding *rb_usascii_encoding(void); rb_encoding *rb_locale_encoding(void); rb_encoding *rb_default_external_encoding(void); +int rb_usascii_encindex(void); VALUE rb_enc_default_external(void); void rb_enc_set_default_external(VALUE encoding); VALUE rb_locale_charmap(VALUE klass); Index: ChangeLog =================================================================== --- ChangeLog (revision 15247) +++ ChangeLog (revision 15248) @@ -1,3 +1,10 @@ +Sat Jan 26 09:30:26 2008 Nobuyoshi Nakada <nobu@r...> + + * include/ruby/encoding.h (rb_usascii_encindex): added prototype. + + * include/ruby/intern.h (rb_usascii_str_new, rb_usascii_str_new2): + ditto. + Sat Jan 26 09:17:13 2008 NARUSE, Yui <naruse@r...> * string.c (rb_str_new): set US-ASCII and ENC_CODERANGE_7BIT when -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/