Commit e3ec37e8 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Added _isctype_l implementation.

parent 69ea5768
......@@ -66,11 +66,12 @@ WORD** CDECL MSVCRT___pctype_func(void)
}
/*********************************************************************
* _isctype (MSVCRT.@)
* _isctype_l (MSVCRT.@)
*/
int CDECL _isctype(int c, int type)
int CDECL _isctype_l(int c, int type, MSVCRT__locale_t locale)
{
MSVCRT__locale_t locale = get_locale();
if(!locale)
locale = get_locale();
if (c >= -1 && c <= 255)
return locale->locinfo->pctype[c] & type;
......@@ -94,6 +95,14 @@ int CDECL _isctype(int c, int type)
}
/*********************************************************************
* _isctype (MSVCRT.@)
*/
int CDECL _isctype(int c, int type)
{
return _isctype_l(c, type, NULL);
}
/*********************************************************************
* isalnum (MSVCRT.@)
*/
int CDECL MSVCRT_isalnum(int c)
......
......@@ -535,7 +535,7 @@
@ cdecl _isatty(long)
# stub _iscntrl_l(long ptr)
@ cdecl _isctype(long long)
# stub _isctype_l(long long ptr)
@ cdecl _isctype_l(long long ptr)
# stub _isdigit_l(long ptr)
# stub _isgraph_l(long ptr)
# stub _isleadbyte_l(long ptr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment