msvcrt: Implement pwctype() functions.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-01-15 17:04:34 +01:00
parent 5131905771
commit 52a1737fc0
15 changed files with 39 additions and 22 deletions

View File

@ -5,7 +5,7 @@
@ cdecl ___mb_cur_max_l_func(ptr) ucrtbase.___mb_cur_max_l_func
@ cdecl __initialize_lconv_for_unsigned_char() ucrtbase.__initialize_lconv_for_unsigned_char
@ cdecl __pctype_func() ucrtbase.__pctype_func
@ stub __pwctype_func
@ cdecl __pwctype_func() ucrtbase.__pwctype_func
@ cdecl _configthreadlocale(long) ucrtbase._configthreadlocale
@ cdecl _create_locale(long str) ucrtbase._create_locale
@ cdecl _free_locale(ptr) ucrtbase._free_locale

View File

@ -641,7 +641,7 @@
@ cdecl __p__mbctype()
@ cdecl __p__pctype()
@ cdecl __p__pgmptr()
@ stub __p__pwctype()
@ cdecl __p__pwctype()
@ cdecl __p__timezone()
@ cdecl __p__tzname()
@ cdecl __p__wcmdln()
@ -649,7 +649,7 @@
@ cdecl __p__wpgmptr()
@ cdecl __pctype_func()
@ extern __pioinfo MSVCRT___pioinfo
@ stub __pwctype_func
@ cdecl __pwctype_func()
@ cdecl __pxcptinfoptrs()
@ stub __report_gsfailure
@ cdecl __set_app_type(long)

View File

@ -990,7 +990,7 @@
@ cdecl __p__mbctype()
@ cdecl __p__pctype()
@ cdecl __p__pgmptr()
@ stub __p__pwctype()
@ cdecl __p__pwctype()
@ cdecl __p__timezone()
@ cdecl __p__tzname()
@ cdecl __p__wcmdln()
@ -998,7 +998,7 @@
@ cdecl __p__wpgmptr()
@ cdecl __pctype_func()
@ extern __pioinfo MSVCRT___pioinfo
@ stub __pwctype_func
@ cdecl __pwctype_func()
@ cdecl __pxcptinfoptrs()
@ stub __report_gsfailure
@ cdecl __set_app_type(long)

View File

@ -980,7 +980,7 @@
@ cdecl __p__mbctype()
@ cdecl __p__pctype()
@ cdecl __p__pgmptr()
@ stub __p__pwctype()
@ cdecl __p__pwctype()
@ cdecl __p__timezone()
@ cdecl __p__tzname()
@ cdecl __p__wcmdln()
@ -988,7 +988,7 @@
@ cdecl __p__wpgmptr()
@ cdecl __pctype_func()
@ extern __pioinfo MSVCRT___pioinfo
@ stub __pwctype_func
@ cdecl __pwctype_func()
@ cdecl __pxcptinfoptrs()
@ stub __report_gsfailure
@ cdecl __set_app_type(long)

View File

@ -960,7 +960,7 @@
@ cdecl __p__wpgmptr() msvcr120.__p__wpgmptr
@ cdecl __pctype_func() msvcr120.__pctype_func
@ extern __pioinfo msvcr120.__pioinfo
@ stub __pwctype_func
@ cdecl __pwctype_func() msvcr120.__pwctype_func
@ cdecl __pxcptinfoptrs() msvcr120.__pxcptinfoptrs
@ stub __report_gsfailure
@ extern __setlc_active msvcr120.__setlc_active

View File

@ -181,7 +181,7 @@
@ cdecl __p__osver()
@ cdecl __p__pctype()
@ cdecl __p__pgmptr()
@ stub __p__pwctype()
@ cdecl __p__pwctype()
@ cdecl __p__timezone()
@ cdecl __p__tzname()
@ cdecl __p__wcmdln()
@ -192,7 +192,7 @@
@ cdecl __p__wpgmptr()
@ cdecl __pctype_func()
@ extern __pioinfo MSVCRT___pioinfo
@ stub __pwctype_func
@ cdecl __pwctype_func()
@ cdecl __pxcptinfoptrs()
@ cdecl __security_error_handler(long ptr)
@ cdecl __set_app_type(long)

View File

@ -176,7 +176,7 @@
@ cdecl __p__osver()
@ cdecl __p__pctype()
@ cdecl __p__pgmptr()
@ stub __p__pwctype()
@ cdecl __p__pwctype()
@ cdecl __p__timezone()
@ cdecl __p__tzname()
@ cdecl __p__wcmdln()
@ -187,7 +187,7 @@
@ cdecl __p__wpgmptr()
@ cdecl __pctype_func()
@ extern __pioinfo MSVCRT___pioinfo
@ stub __pwctype_func
@ cdecl __pwctype_func()
@ cdecl __pxcptinfoptrs()
@ cdecl __security_error_handler(long ptr)
@ cdecl __set_app_type(long)

View File

@ -287,7 +287,7 @@
@ cdecl __p__osver()
@ cdecl __p__pctype()
@ cdecl __p__pgmptr()
@ stub __p__pwctype()
@ cdecl __p__pwctype()
@ cdecl __p__timezone()
@ cdecl __p__tzname()
@ cdecl __p__wcmdln()
@ -298,7 +298,7 @@
@ cdecl __p__wpgmptr()
@ cdecl __pctype_func()
@ extern __pioinfo MSVCRT___pioinfo
@ stub __pwctype_func
@ cdecl __pwctype_func()
@ cdecl __pxcptinfoptrs()
@ stub __report_gsfailure
@ cdecl __set_app_type(long)

View File

@ -274,7 +274,7 @@
@ cdecl __p__mbctype()
@ cdecl __p__pctype()
@ cdecl __p__pgmptr()
@ stub __p__pwctype()
@ cdecl __p__pwctype()
@ cdecl __p__timezone()
@ cdecl __p__tzname()
@ cdecl __p__wcmdln()
@ -282,7 +282,7 @@
@ cdecl __p__wpgmptr()
@ cdecl __pctype_func()
@ extern __pioinfo MSVCRT___pioinfo
@ stub __pwctype_func
@ cdecl __pwctype_func()
@ cdecl __pxcptinfoptrs()
@ stub __report_gsfailure
@ cdecl __set_app_type(long)

View File

@ -143,6 +143,22 @@ const unsigned short* CDECL __pctype_func(void)
return get_locinfo()->pctype;
}
/*********************************************************************
* __p__pwctype (MSVCRT.@)
*/
unsigned short** CDECL __p__pwctype(void)
{
return &MSVCRT__pwctype;
}
/*********************************************************************
* __pwctype_func (MSVCRT.@)
*/
const unsigned short* CDECL __pwctype_func(void)
{
return MSVCRT__pwctype;
}
/*********************************************************************
* _isctype_l (MSVCRT.@)
*/

View File

@ -265,7 +265,7 @@
@ cdecl -arch=i386 __p__osver()
@ cdecl -arch=i386 __p__pctype()
@ cdecl -arch=i386 __p__pgmptr()
@ stub -arch=i386 __p__pwctype()
@ cdecl -arch=i386 __p__pwctype()
@ cdecl -arch=i386 __p__timezone()
@ cdecl -arch=i386 __p__tzname()
@ cdecl -arch=i386 __p__wcmdln()
@ -276,7 +276,7 @@
@ cdecl -arch=i386 __p__wpgmptr()
@ cdecl __pctype_func()
@ extern __pioinfo MSVCRT___pioinfo
# stub __pwctype_func()
@ cdecl __pwctype_func()
@ cdecl __pxcptinfoptrs()
@ cdecl __set_app_type(long)
@ extern __setlc_active MSVCRT___setlc_active

View File

@ -825,7 +825,7 @@
@ cdecl -arch=i386 __p__osver() msvcrt.__p__osver
@ cdecl -arch=i386 __p__pctype() msvcrt.__p__pctype
@ cdecl -arch=i386 __p__pgmptr() msvcrt.__p__pgmptr
@ cdecl __p__pwctype() msvcrt.__p__pwctype
@ cdecl -arch=i386 __p__pwctype() msvcrt.__p__pwctype
@ cdecl -arch=i386 __p__timezone() msvcrt.__p__timezone
@ cdecl -arch=i386 __p__tzname() msvcrt.__p__tzname
@ cdecl -arch=i386 __p__wcmdln() msvcrt.__p__wcmdln

View File

@ -904,7 +904,7 @@
@ cdecl -arch=i386 __p__osver() msvcrt.__p__osver
@ cdecl -arch=i386 __p__pctype() msvcrt.__p__pctype
@ cdecl -arch=i386 __p__pgmptr() msvcrt.__p__pgmptr
@ cdecl __p__pwctype() msvcrt.__p__pwctype
@ cdecl -arch=i386 __p__pwctype() msvcrt.__p__pwctype
@ cdecl -arch=i386 __p__timezone() msvcrt.__p__timezone
@ cdecl -arch=i386 __p__tzname() msvcrt.__p__tzname
@ cdecl -arch=i386 __p__wcmdln() msvcrt.__p__wcmdln

View File

@ -173,7 +173,7 @@
@ cdecl __p__osver()
@ cdecl __p__pctype()
@ cdecl __p__pgmptr()
@ stub __p__pwctype()
@ cdecl __p__pwctype()
@ cdecl __p__timezone()
@ cdecl __p__tzname()
@ cdecl __p__wcmdln()
@ -184,6 +184,7 @@
@ cdecl __p__wpgmptr()
@ cdecl __pctype_func()
@ extern __pioinfo MSVCRT___pioinfo
@ cdecl __pwctype_func()
@ cdecl __pxcptinfoptrs()
@ cdecl __set_app_type(long)
@ extern __setlc_active MSVCRT___setlc_active

View File

@ -136,7 +136,7 @@
@ cdecl __p__wpgmptr()
@ cdecl __pctype_func()
@ cdecl __processing_throw()
@ stub __pwctype_func
@ cdecl __pwctype_func()
@ cdecl __pxcptinfoptrs()
@ stub __report_gsfailure
@ cdecl __setusermatherr(ptr)