msvcrt: Add _ismbclegal_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
790f97cb30
commit
64453ea28b
|
@ -45,7 +45,7 @@
|
|||
@ cdecl _ismbcl2(long) ucrtbase._ismbcl2
|
||||
@ stub _ismbcl2_l
|
||||
@ cdecl _ismbclegal(long) ucrtbase._ismbclegal
|
||||
@ stub _ismbclegal_l
|
||||
@ cdecl _ismbclegal_l(long ptr) ucrtbase._ismbclegal_l
|
||||
@ cdecl _ismbclower(long) ucrtbase._ismbclower
|
||||
@ stub _ismbclower_l
|
||||
@ cdecl _ismbcprint(long) ucrtbase._ismbcprint
|
||||
|
|
|
@ -993,7 +993,7 @@
|
|||
@ stub _ismbcl2(long)
|
||||
@ stub _ismbcl2_l
|
||||
@ cdecl _ismbclegal(long)
|
||||
@ stub _ismbclegal_l
|
||||
@ cdecl _ismbclegal_l(long ptr)
|
||||
@ cdecl _ismbclower(long)
|
||||
@ stub _ismbclower_l
|
||||
@ cdecl _ismbcprint(long)
|
||||
|
|
|
@ -1339,7 +1339,7 @@
|
|||
@ stub _ismbcl2(long)
|
||||
@ stub _ismbcl2_l
|
||||
@ cdecl _ismbclegal(long)
|
||||
@ stub _ismbclegal_l
|
||||
@ cdecl _ismbclegal_l(long ptr)
|
||||
@ stub _ismbclower(long)
|
||||
@ stub _ismbclower_l
|
||||
@ stub _ismbcprint(long)
|
||||
|
|
|
@ -1344,7 +1344,7 @@
|
|||
@ stub _ismbcl2(long)
|
||||
@ stub _ismbcl2_l
|
||||
@ cdecl _ismbclegal(long)
|
||||
@ stub _ismbclegal_l
|
||||
@ cdecl _ismbclegal_l(long ptr)
|
||||
@ stub _ismbclower(long)
|
||||
@ stub _ismbclower_l
|
||||
@ cdecl _ismbcprint(long)
|
||||
|
|
|
@ -665,7 +665,7 @@
|
|||
@ stub _ismbcl2(long)
|
||||
@ stub _ismbcl2_l
|
||||
@ cdecl _ismbclegal(long)
|
||||
@ stub _ismbclegal_l
|
||||
@ cdecl _ismbclegal_l(long ptr)
|
||||
@ cdecl _ismbclower(long)
|
||||
@ stub _ismbclower_l
|
||||
@ cdecl _ismbcprint(long)
|
||||
|
|
|
@ -643,7 +643,7 @@
|
|||
@ stub _ismbcl2(long)
|
||||
@ stub _ismbcl2_l
|
||||
@ cdecl _ismbclegal(long)
|
||||
@ stub _ismbclegal_l
|
||||
@ cdecl _ismbclegal_l(long ptr)
|
||||
@ cdecl _ismbclower(long)
|
||||
@ stub _ismbclower_l
|
||||
@ cdecl _ismbcprint(long)
|
||||
|
|
|
@ -1574,12 +1574,20 @@ int CDECL _ismbbtrail(unsigned int c)
|
|||
return _ismbbtrail_l(c, NULL);
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _ismbclegal_l(MSVCRT.@)
|
||||
*/
|
||||
int CDECL _ismbclegal_l(unsigned int c, MSVCRT__locale_t locale)
|
||||
{
|
||||
return _ismbblead_l(HIBYTE(c), locale) && _ismbbtrail_l(LOBYTE(c), locale);
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _ismbclegal(MSVCRT.@)
|
||||
*/
|
||||
int CDECL _ismbclegal(unsigned int c)
|
||||
{
|
||||
return _ismbblead(HIBYTE(c)) && _ismbbtrail(LOBYTE(c));
|
||||
return _ismbclegal_l(c, NULL);
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
|
|
|
@ -614,7 +614,7 @@
|
|||
@ stub _ismbcl2(long)
|
||||
# stub _ismbcl2_l(long ptr)
|
||||
@ cdecl _ismbclegal(long)
|
||||
# stub _ismbclegal_l(long ptr)
|
||||
@ cdecl _ismbclegal_l(long ptr)
|
||||
@ cdecl _ismbclower(long)
|
||||
# stub _ismbclower_l(long ptr)
|
||||
@ cdecl _ismbcprint(long)
|
||||
|
|
|
@ -483,7 +483,7 @@
|
|||
@ stub _ismbcl2(long)
|
||||
@ stub _ismbcl2_l
|
||||
@ cdecl _ismbclegal(long)
|
||||
@ stub _ismbclegal_l
|
||||
@ cdecl _ismbclegal_l(long ptr)
|
||||
@ stub _ismbclower(long)
|
||||
@ stub _ismbclower_l
|
||||
@ cdecl _ismbcprint(long)
|
||||
|
|
Loading…
Reference in New Issue