msvcrt: Move _pctype definition to locale.c.
This commit is contained in:
parent
c32d4e8840
commit
0f53100ade
|
@ -51,13 +51,6 @@ WORD MSVCRT__ctype [257] = {
|
|||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
};
|
||||
|
||||
/* pctype is used by macros in the Win32 headers. It must point
|
||||
* To a table of flags exactly like ctype. To allow locale
|
||||
* changes to affect ctypes (i.e. isleadbyte), we use a second table
|
||||
* and update its flags whenever the current locale changes.
|
||||
*/
|
||||
unsigned short *MSVCRT__pctype = NULL;
|
||||
|
||||
/*********************************************************************
|
||||
* __p__pctype (MSVCRT.@)
|
||||
*/
|
||||
|
|
|
@ -41,6 +41,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
|
|||
#define MAX_ELEM_LEN 64 /* Max length of country/language/CP string */
|
||||
#define MAX_LOCALE_LENGTH 256
|
||||
MSVCRT__locale_t MSVCRT_locale = NULL;
|
||||
unsigned short *MSVCRT__pctype = NULL;
|
||||
int MSVCRT___lc_codepage = 0;
|
||||
int MSVCRT___lc_collate_cp = 0;
|
||||
LCID MSVCRT___lc_handle[MSVCRT_LC_MAX - MSVCRT_LC_MIN + 1] = { 0 };
|
||||
|
|
|
@ -202,7 +202,6 @@ extern MSVCRT__locale_t MSVCRT_locale;
|
|||
extern int MSVCRT___lc_codepage;
|
||||
extern int MSVCRT___lc_collate_cp;
|
||||
extern WORD MSVCRT__ctype [257];
|
||||
extern unsigned short *MSVCRT__pctype;
|
||||
|
||||
void msvcrt_set_errno(int);
|
||||
|
||||
|
|
Loading…
Reference in New Issue