[前][次][番号順一覧][スレッド一覧]

ruby-changes:16086

From: naruse <ko1@a...>
Date: Thu, 27 May 2010 23:47:31 +0900 (JST)
Subject: [ruby-changes:16086] Ruby:r28037 (trunk): * include/ruby/encoding.h (rb_filesystem_encindex): defined.

naruse	2010-05-27 23:47:16 +0900 (Thu, 27 May 2010)

  New Revision: 28037

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

  Log:
    * include/ruby/encoding.h (rb_filesystem_encindex): defined.
    
    * include/ruby/encoding.h (rb_locale_encindex): ditto.
    
    * encoding.c (rb_filesystem_encindex): remove static.
    
    * encoding.c (rb_locale_encindex): ditto.

  Modified files:
    trunk/ChangeLog
    trunk/encoding.c
    trunk/include/ruby/encoding.h

Index: encoding.c
===================================================================
--- encoding.c	(revision 28036)
+++ encoding.c	(revision 28037)
@@ -1114,7 +1114,7 @@
     return ENCINDEX_US_ASCII;
 }
 
-static int
+int
 rb_locale_encindex(void)
 {
     VALUE charmap = rb_locale_charmap(rb_cEncoding);
@@ -1155,7 +1155,7 @@
     return idx;
 }
 
-static int
+int
 rb_filesystem_encindex(void)
 {
     int idx = rb_enc_registered("filesystem");
Index: include/ruby/encoding.h
===================================================================
--- include/ruby/encoding.h	(revision 28036)
+++ include/ruby/encoding.h	(revision 28037)
@@ -195,6 +195,8 @@
 int rb_ascii8bit_encindex(void);
 int rb_utf8_encindex(void);
 int rb_usascii_encindex(void);
+int rb_locale_encindex(void);
+int rb_filesystem_encindex(void);
 VALUE rb_enc_default_external(void);
 VALUE rb_enc_default_internal(void);
 void rb_enc_set_default_external(VALUE encoding);
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 28036)
+++ ChangeLog	(revision 28037)
@@ -1,3 +1,13 @@
+Thu May 27 23:03:19 2010  NARUSE, Yui  <naruse@r...>
+
+	* include/ruby/encoding.h (rb_filesystem_encindex): defined.
+
+	* include/ruby/encoding.h (rb_locale_encindex): ditto.
+
+	* encoding.c (rb_filesystem_encindex): remove static.
+
+	* encoding.c (rb_locale_encindex): ditto.
+
 Thu May 27 22:34:27 2010  NAKAMURA Usaku  <usa@r...>
 
 	* win32/win32.c (rb_w32_read): call ReadFile() with len = 0 before

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]