Ignore:
Timestamp:
Feb 6, 2002, 9:14:34 PM (24 years ago)
Author:
sandervl
Message:

header updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/wine/unicode.h

    r6914 r7819  
    1212#if !defined(OS2_INCLUDED) && !defined(__WIN32TYPE_H__)
    1313#include <windef.h>
     14#endif
     15#include <winnls.h>
     16
     17#ifndef strncasecmp
     18#define strncasecmp     lstrncmpiA
    1419#endif
    1520
     
    7277extern WCHAR WINAPI toupperW( WCHAR ch );
    7378
    74 static inline int is_dbcs_leadbyte( const union cptable *table, unsigned char ch )
    75 {
    76     return (table->info.char_size == 2) && (table->dbcs.cp2uni_leadbytes[ch]);
    77 }
     79extern unsigned short get_char_typeW( WCHAR ch );
     80
     81inline static int isdigitW( WCHAR wc )
     82{
     83    return get_char_typeW(wc) & C1_DIGIT;
     84}
     85
     86inline static int isxdigitW( WCHAR wc )
     87{
     88    return get_char_typeW(wc) & C1_XDIGIT;
     89}
     90
     91#define  islowerW(a)    IsCharLowerW(a)
     92#define  isupperW(a)    IsCharUpperW(a)
     93#define  isalnumW(a)    IsCharAlphaNumericW(a)
     94#define  isalphaW(a)    IsCharAlphaW(a)
     95
    7896
    7997/* some useful string manipulation routines */
     
    186204extern int strncmpiW( const WCHAR *str1, const WCHAR *str2, int n );
    187205extern WCHAR *strstrW( const WCHAR *str, const WCHAR *sub );
    188 extern unsigned short get_char_typeW( WCHAR ch );
    189206
    190207
Note: See TracChangeset for help on using the changeset viewer.