Ignore:
Timestamp:
Nov 22, 2000, 12:49:04 AM (25 years ago)
Author:
phaller
Message:

Major move towards WINE CRTDLL, mixture between both code branches

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/crtdll/crt_wc.cpp

    r2855 r4667  
    1 /* $Id: crt_wc.cpp,v 1.2 2000-02-21 23:11:30 sandervl Exp $ */
     1/* $Id: crt_wc.cpp,v 1.3 2000-11-21 23:48:49 phaller Exp $ */
    22
    33/*
     
    253253{
    254254  dprintf2(("CRTDLL: iswalnum(%08xh)\n", i));
     255  //return get_char_typeW(wc) & (C1_ALPHA|C1_DIGIT|C1_LOWER|C1_UPPER);
    255256  return (iswalnum(i));
    256257}
     
    264265  dprintf2(("CRTDLL: iswalpha(%08xh)\n", i));
    265266  return (iswalpha(i));
    266 }
    267 
    268 
    269 /*********************************************************************
    270  *                  iswascii    (CRTDLL.404)
    271  */
    272 int CDECL CRTDLL_iswascii(wint_t c)
    273 {
    274   dprintf2(("CRTDLL: iswascii\n", c));
    275   return  (!((c)&(~0x7f)));
     267  //return get_char_typeW(wc) & (C1_ALPHA|C1_LOWER|C1_UPPER);
    276268}
    277269
     
    283275{
    284276  dprintf2(("CRTDLL: iswcntrl(%08xh)\n", i));
     277  //return get_char_typeW(wc) & C1_CNTRL;
    285278  return (iswcntrl(i));
    286279}
     
    303296{
    304297  dprintf2(("CRTDLL: iswdigit(%08xh)\n", i));
     298  //return get_char_typeW(wc) & C1_DIGIT;
    305299  return (iswdigit(i));
    306300}
     
    313307{
    314308  dprintf2(("CRTDLL: iswgraph(%08xh)\n", i));
     309  //return get_char_typeW(wc) & (C1_ALPHA|C1_PUNCT|C1_DIGIT|C1_LOWER|C1_UPPER);
    315310  return (iswgraph(i));
    316311}
     
    323318{
    324319  dprintf2(("CRTDLL: iswlower(%08xh)\n", i));
     320  //return get_char_typeW(wc) & C1_LOWER;
    325321  return (iswlower(i));
    326322}
     
    333329{
    334330  dprintf2(("CRTDLL: iswprint(%08xh)\n", i));
     331  //return get_char_typeW(wc) & (C1_ALPHA|C1_BLANK|C1_PUNCT|C1_DIGIT|C1_LOWER|C1_UPPER);
    335332  return (iswprint(i));
    336333}
     
    343340{
    344341  dprintf2(("CRTDLL: iswpunct(%08xh)\n", i));
     342  //return get_char_typeW(wc) & C1_PUNCT;
    345343  return (iswpunct(i));
    346344}
     
    353351{
    354352  dprintf2(("CRTDLL: iswspace(%08xh)\n", i));
     353  //return get_char_typeW(wc) & C1_SPACE;
    355354  return (iswspace(i));
    356355}
     
    363362{
    364363  dprintf2(("CRTDLL: iswupper(%08xh)\n", i));
     364  //return get_char_typeW(wc) & C1_UPPER;
    365365  return (iswupper(i));
    366366}
     
    373373{
    374374  dprintf2(("CRTDLL: iswxdigit(%08xh)\n", i));
     375  //return get_char_typeW(wc) & C1_XDIGIT;
    375376  return (iswxdigit(i));
    376377}
     
    448449
    449450/*********************************************************************
    450  *                  vswprintf       (CRTDLL.498)
    451  */
    452 int CDECL CRTDLL_vswprintf( wchar_t *s , size_t t, const wchar_t *format, va_list arg )
    453 {
    454   dprintf2(("CRTDLL: vswprintf\n"));
    455   return (vswprintf(s, t, format, arg));
    456 }
    457 
    458 
    459 /*********************************************************************
    460451 *                  wcscat            (CRTDLL.500)
    461452 */
     
    731722{
    732723  dprintf2(("CRTDLL: wctomb\n"));
     724  //return WideCharToMultiByte( CP_ACP, 0, &ch, 1, dst, 6, NULL, NULL );
    733725  return (wctomb((char*)dst,ch));
    734726}
Note: See TracChangeset for help on using the changeset viewer.