Commit 0eb112aa authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Add ismbblead_l implementation.

parent f5e16e06
......@@ -966,7 +966,7 @@
@ stub _ismbbkpunct(long)
@ stub _ismbbkpunct_l
@ cdecl _ismbblead(long)
@ stub _ismbblead_l
@ cdecl _ismbblead_l(long ptr)
@ stub _ismbbprint(long)
@ stub _ismbbprint_l
@ stub _ismbbpunct(long)
......
......@@ -1313,7 +1313,7 @@
@ stub _ismbbkpunct(long)
@ stub _ismbbkpunct_l
@ cdecl _ismbblead(long)
@ stub _ismbblead_l
@ cdecl _ismbblead_l(long ptr)
@ stub _ismbbprint(long)
@ stub _ismbbprint_l
@ stub _ismbbpunct(long)
......
......@@ -1314,7 +1314,7 @@
@ stub _ismbbkpunct(long)
@ stub _ismbbkpunct_l
@ cdecl _ismbblead(long)
@ stub _ismbblead_l
@ cdecl _ismbblead_l(long ptr)
@ stub _ismbbprint(long)
@ stub _ismbbprint_l
@ stub _ismbbpunct(long)
......
......@@ -1219,7 +1219,7 @@
@ cdecl _ismbbkpunct(long) msvcr120._ismbbkpunct
@ stub _ismbbkpunct_l
@ cdecl _ismbblead(long) msvcr120._ismbblead
@ stub _ismbblead_l
@ cdecl _ismbblead_l(long ptr) msvcr120._ismbblead_l
@ cdecl _ismbbprint(long) msvcr120._ismbbprint
@ stub _ismbbprint_l
@ cdecl _ismbbpunct(long) msvcr120._ismbbpunct
......
......@@ -639,7 +639,7 @@
@ stub _ismbbkpunct(long)
@ stub _ismbbkpunct_l
@ cdecl _ismbblead(long)
@ stub _ismbblead_l
@ cdecl _ismbblead_l(long ptr)
@ stub _ismbbprint(long)
@ stub _ismbbprint_l
@ stub _ismbbpunct(long)
......
......@@ -616,7 +616,7 @@
@ stub _ismbbkpunct(long)
@ stub _ismbbkpunct_l
@ cdecl _ismbblead(long)
@ stub _ismbblead_l
@ cdecl _ismbblead_l(long ptr)
@ stub _ismbbprint(long)
@ stub _ismbbprint_l
@ stub _ismbbpunct(long)
......
......@@ -1374,12 +1374,28 @@ int CDECL _ismbckata(unsigned int c)
return 0;
}
/*********************************************************************
* _ismbblead_l(MSVCRT.@)
*/
int CDECL _ismbblead_l(unsigned int c, MSVCRT__locale_t locale)
{
MSVCRT_pthreadmbcinfo mbcinfo;
if(!locale)
mbcinfo = get_mbcinfo();
else
mbcinfo = locale->mbcinfo;
return (mbcinfo->mbctype[(c&0xff) + 1] & _M1) != 0;
}
/*********************************************************************
* _ismbblead(MSVCRT.@)
*/
int CDECL _ismbblead(unsigned int c)
{
return (get_mbcinfo()->mbctype[(c&0xff) + 1] & _M1) != 0;
return _ismbblead_l(c, NULL);
}
......
......@@ -585,7 +585,7 @@
@ stub _ismbbkpunct(long)
# stub _ismbbkpunct_l(long ptr)
@ cdecl _ismbblead(long)
# stub _ismbblead_l(long ptr)
@ cdecl _ismbblead_l(long ptr)
@ stub _ismbbprint(long)
# stub _ismbbprint_l(long ptr)
@ stub _ismbbpunct(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