mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
51077c2c22
commit
f39ad4cab2
3 changed files with 14 additions and 2 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
Thu May 27 23:03:19 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* 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@ruby-lang.org>
|
||||
|
||||
* win32/win32.c (rb_w32_read): call ReadFile() with len = 0 before
|
||||
|
|
|
@ -1114,7 +1114,7 @@ rb_usascii_encindex(void)
|
|||
return ENCINDEX_US_ASCII;
|
||||
}
|
||||
|
||||
static int
|
||||
int
|
||||
rb_locale_encindex(void)
|
||||
{
|
||||
VALUE charmap = rb_locale_charmap(rb_cEncoding);
|
||||
|
@ -1155,7 +1155,7 @@ enc_set_filesystem_encoding(void)
|
|||
return idx;
|
||||
}
|
||||
|
||||
static int
|
||||
int
|
||||
rb_filesystem_encindex(void)
|
||||
{
|
||||
int idx = rb_enc_registered("filesystem");
|
||||
|
|
|
@ -195,6 +195,8 @@ rb_encoding *rb_default_internal_encoding(void);
|
|||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue