Diff for /xmil/common/milstr.c between versions 1.3 and 1.5

version 1.3, 2004/08/13 04:08:33 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) {
   
Line 619  int STRCALL milstr_getarg(OEMCHAR *str,  Line 619  int STRCALL milstr_getarg(OEMCHAR *str, 
   
         int             ret = 0;          int             ret = 0;
         OEMCHAR *p;          OEMCHAR *p;
         BOOL    quot;          BRESULT quot;
   
         while(maxarg--) {          while(maxarg--) {
                 quot = FALSE;                  quot = FALSE;

Removed from v.1.3  
changed lines
  Added in v.1.5


RetroPC.NET-CVS <cvs@retropc.net>