Commit 64453ea2 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Add _ismbclegal_l implementation.

parent 790f97cb
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
@ cdecl _ismbcl2(long) ucrtbase._ismbcl2 @ cdecl _ismbcl2(long) ucrtbase._ismbcl2
@ stub _ismbcl2_l @ stub _ismbcl2_l
@ cdecl _ismbclegal(long) ucrtbase._ismbclegal @ cdecl _ismbclegal(long) ucrtbase._ismbclegal
@ stub _ismbclegal_l @ cdecl _ismbclegal_l(long ptr) ucrtbase._ismbclegal_l
@ cdecl _ismbclower(long) ucrtbase._ismbclower @ cdecl _ismbclower(long) ucrtbase._ismbclower
@ stub _ismbclower_l @ stub _ismbclower_l
@ cdecl _ismbcprint(long) ucrtbase._ismbcprint @ cdecl _ismbcprint(long) ucrtbase._ismbcprint
......
...@@ -993,7 +993,7 @@ ...@@ -993,7 +993,7 @@
@ stub _ismbcl2(long) @ stub _ismbcl2(long)
@ stub _ismbcl2_l @ stub _ismbcl2_l
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
@ stub _ismbclegal_l @ cdecl _ismbclegal_l(long ptr)
@ cdecl _ismbclower(long) @ cdecl _ismbclower(long)
@ stub _ismbclower_l @ stub _ismbclower_l
@ cdecl _ismbcprint(long) @ cdecl _ismbcprint(long)
......
...@@ -1339,7 +1339,7 @@ ...@@ -1339,7 +1339,7 @@
@ stub _ismbcl2(long) @ stub _ismbcl2(long)
@ stub _ismbcl2_l @ stub _ismbcl2_l
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
@ stub _ismbclegal_l @ cdecl _ismbclegal_l(long ptr)
@ stub _ismbclower(long) @ stub _ismbclower(long)
@ stub _ismbclower_l @ stub _ismbclower_l
@ stub _ismbcprint(long) @ stub _ismbcprint(long)
......
...@@ -1344,7 +1344,7 @@ ...@@ -1344,7 +1344,7 @@
@ stub _ismbcl2(long) @ stub _ismbcl2(long)
@ stub _ismbcl2_l @ stub _ismbcl2_l
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
@ stub _ismbclegal_l @ cdecl _ismbclegal_l(long ptr)
@ stub _ismbclower(long) @ stub _ismbclower(long)
@ stub _ismbclower_l @ stub _ismbclower_l
@ cdecl _ismbcprint(long) @ cdecl _ismbcprint(long)
......
...@@ -665,7 +665,7 @@ ...@@ -665,7 +665,7 @@
@ stub _ismbcl2(long) @ stub _ismbcl2(long)
@ stub _ismbcl2_l @ stub _ismbcl2_l
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
@ stub _ismbclegal_l @ cdecl _ismbclegal_l(long ptr)
@ cdecl _ismbclower(long) @ cdecl _ismbclower(long)
@ stub _ismbclower_l @ stub _ismbclower_l
@ cdecl _ismbcprint(long) @ cdecl _ismbcprint(long)
......
...@@ -643,7 +643,7 @@ ...@@ -643,7 +643,7 @@
@ stub _ismbcl2(long) @ stub _ismbcl2(long)
@ stub _ismbcl2_l @ stub _ismbcl2_l
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
@ stub _ismbclegal_l @ cdecl _ismbclegal_l(long ptr)
@ cdecl _ismbclower(long) @ cdecl _ismbclower(long)
@ stub _ismbclower_l @ stub _ismbclower_l
@ cdecl _ismbcprint(long) @ cdecl _ismbcprint(long)
......
...@@ -1575,11 +1575,19 @@ int CDECL _ismbbtrail(unsigned int c) ...@@ -1575,11 +1575,19 @@ int CDECL _ismbbtrail(unsigned int c)
} }
/********************************************************************* /*********************************************************************
* _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.@) * _ismbclegal(MSVCRT.@)
*/ */
int CDECL _ismbclegal(unsigned int c) int CDECL _ismbclegal(unsigned int c)
{ {
return _ismbblead(HIBYTE(c)) && _ismbbtrail(LOBYTE(c)); return _ismbclegal_l(c, NULL);
} }
/********************************************************************* /*********************************************************************
......
...@@ -614,7 +614,7 @@ ...@@ -614,7 +614,7 @@
@ stub _ismbcl2(long) @ stub _ismbcl2(long)
# stub _ismbcl2_l(long ptr) # stub _ismbcl2_l(long ptr)
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
# stub _ismbclegal_l(long ptr) @ cdecl _ismbclegal_l(long ptr)
@ cdecl _ismbclower(long) @ cdecl _ismbclower(long)
# stub _ismbclower_l(long ptr) # stub _ismbclower_l(long ptr)
@ cdecl _ismbcprint(long) @ cdecl _ismbcprint(long)
......
...@@ -483,7 +483,7 @@ ...@@ -483,7 +483,7 @@
@ stub _ismbcl2(long) @ stub _ismbcl2(long)
@ stub _ismbcl2_l @ stub _ismbcl2_l
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
@ stub _ismbclegal_l @ cdecl _ismbclegal_l(long ptr)
@ stub _ismbclower(long) @ stub _ismbclower(long)
@ stub _ismbclower_l @ stub _ismbclower_l
@ cdecl _ismbcprint(long) @ cdecl _ismbcprint(long)
......
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