|
|
| version 1.3, 2005/03/20 06:09:16 | version 1.4, 2005/03/20 13:12:49 |
|---|---|
| Line 1 | Line 1 |
| #if defined(OSLANG_UTF8) | |
| #include "codecnv.h" | |
| #endif | |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" { | extern "C" { |
| #endif | #endif |
| Line 12 UINT oemtext_oemtosjis(char *dst, UINT d | Line 17 UINT oemtext_oemtosjis(char *dst, UINT d |
| } | } |
| #endif | #endif |
| UINT tchartooem(OEMCHAR *dst, UINT dcnt, const TCHAR *src, UINT scnt); | |
| UINT oemtotchar(TCHAR *dst, UINT dcnt, const OEMCHAR *src, UINT scnt); | |
| // ---- strres | |
| #if defined(OSLANG_UTF8) | |
| extern const TCHAR tchar_null[]; | |
| extern const TCHAR tchar_d[]; | |
| extern const TCHAR tchar_u[]; | |
| extern const TCHAR tchar_2x[]; | |
| extern const TCHAR tchar_2d[]; | |
| extern const TCHAR tchar_4X[]; | |
| extern const TCHAR tchar_bmp[]; | |
| extern const TCHAR tchar_d88[]; | |
| extern const TCHAR tchar_thd[]; | |
| extern const TCHAR tchar_hdd[]; | |
| #else | |
| #define tchar_null str_null | |
| #define tchar_d str_d | |
| #define tchar_u str_u | |
| #define tchar_2x str_2x | |
| #define tchar_2d str_2d | |
| #define tchar_4X str_4X | |
| #define tchar_bmp str_bmp | |
| #define tchar_d88 str_d88 | |
| #define tchar_thd str_thd | |
| #define tchar_hdd str_hdd | |
| #endif | |
| // ---- milstr | |
| #if defined(OSLANG_UTF8) | |
| long STRCALL miltchar_solveHEX(const TCHAR *str); | |
| long STRCALL miltchar_solveINT(const TCHAR *str); | |
| #else | |
| #define miltchar_solveHEX(s) milstr_solveHEX(s) | |
| #define miltchar_solveINT(s) milstr_solveINT(s) | |
| #endif | |