|
|
| version 1.4, 2004/08/18 15:42:32 | version 1.5, 2008/06/02 20:07:30 |
|---|---|
| Line 1 | Line 1 |
| #include "compiler.h" | #include "compiler.h" |
| // ---- ANK / UCS2 / UCS4 | /* ANK / UCS2 / UCS4 */ |
| #if defined(SUPPORT_ANK) | #if defined(SUPPORT_ANK) |
| int STRCALL milank_charsize(const OEMCHAR *str) { | int STRCALL milank_charsize(const OEMCHAR *str) { |
| Line 101 OEMCHAR * STRCALL milank_chr(const OEMCH | Line 101 OEMCHAR * STRCALL milank_chr(const OEMCH |
| #endif | #endif |
| // ---- Shift-JIS | /* Shift-JIS */ |
| #if defined(SUPPORT_SJIS) | #if defined(SUPPORT_SJIS) |
| int STRCALL milsjis_charsize(const char *str) { | int STRCALL milsjis_charsize(const char *str) { |
| Line 264 char * STRCALL milsjis_chr(const char *s | Line 264 char * STRCALL milsjis_chr(const char *s |
| #endif | #endif |
| // ---- EUC | /* EUC */ |
| #if defined(SUPPORT_EUC) // あれ 半角カナ忘れてるぞ? | #if defined(SUPPORT_EUC) /* あれ 半角カナ忘れてるぞ? */ |
| int STRCALL mileuc_charsize(const char *str) { | int STRCALL mileuc_charsize(const char *str) { |
| int pos; | int pos; |
| Line 426 char * STRCALL mileuc_chr(const char *st | Line 426 char * STRCALL mileuc_chr(const char *st |
| #endif | #endif |
| // ---- UTF8 | /* UTF8 */ |
| #if defined(SUPPORT_UTF8) | #if defined(SUPPORT_UTF8) |
| int STRCALL milutf8_charsize(const char *str) { | int STRCALL milutf8_charsize(const char *str) { |
| Line 567 char * STRCALL milutf8_chr(const char *s | Line 567 char * STRCALL milutf8_chr(const char *s |
| #endif | #endif |
| // ---- other | /* other */ |
| int STRCALL milstr_extendcmp(const OEMCHAR *str, const OEMCHAR *cmp) { | int STRCALL milstr_extendcmp(const OEMCHAR *str, const OEMCHAR *cmp) { |