ruby-changes:43934
From: nobu <ko1@a...>
Date: Thu, 25 Aug 2016 11:11:25 +0900 (JST)
Subject: [ruby-changes:43934] nobu:r56007 (trunk): win32/file.h: rb_w32_filecp
nobu 2016-08-25 11:11:19 +0900 (Thu, 25 Aug 2016) New Revision: 56007 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56007 Log: win32/file.h: rb_w32_filecp * win32/file.h (rb_w32_filecp): add declaration. Modified files: trunk/win32/file.c trunk/win32/file.h trunk/win32/win32.c Index: win32/win32.c =================================================================== --- win32/win32.c (revision 56006) +++ win32/win32.c (revision 56007) @@ -1207,7 +1207,6 @@ is_batch(const char *cmd) https://github.com/ruby/ruby/blob/trunk/win32/win32.c#L1207 return 0; } -UINT rb_w32_filecp(void); #define filecp rb_w32_filecp #define mbstr_to_wstr rb_w32_mbstr_to_wstr #define wstr_to_mbstr rb_w32_wstr_to_mbstr Index: win32/file.c =================================================================== --- win32/file.c (revision 56006) +++ win32/file.c (revision 56007) @@ -33,9 +33,6 @@ static struct code_page_table { https://github.com/ruby/ruby/blob/trunk/win32/file.c#L33 #define system_code_page rb_w32_filecp #define mbstr_to_wstr rb_w32_mbstr_to_wstr #define wstr_to_mbstr rb_w32_wstr_to_mbstr -UINT rb_w32_filecp(void); -WCHAR *rb_w32_mbstr_to_wstr(UINT, const char *, int, long *); -char *rb_w32_wstr_to_mbstr(UINT, const WCHAR *, int, long *); static inline void replace_wchar(wchar_t *s, int find, int replace) Index: win32/file.h =================================================================== --- win32/file.h (revision 56006) +++ win32/file.h (revision 56007) @@ -42,4 +42,6 @@ int rb_w32_ulchown(const char *path, int https://github.com/ruby/ruby/blob/trunk/win32/file.h#L42 int fchmod(int fd, int mode); #define HAVE_FCHMOD 0 +UINT rb_w32_filecp(void); + #endif /* RUBY_WIN32_FILE_H */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/