Commit 790f97cb authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Add _ismbbtrail_l implementation.

parent 370bf01c
......@@ -23,7 +23,7 @@
@ cdecl _ismbbpunct(long) ucrtbase._ismbbpunct
@ stub _ismbbpunct_l
@ cdecl _ismbbtrail(long) ucrtbase._ismbbtrail
@ stub _ismbbtrail_l
@ cdecl _ismbbtrail_l(long ptr) ucrtbase._ismbbtrail_l
@ cdecl _ismbcalnum(long) ucrtbase._ismbcalnum
@ stub _ismbcalnum_l
@ cdecl _ismbcalpha(long) ucrtbase._ismbcalpha
......
......@@ -973,7 +973,7 @@
@ stub _ismbbpunct(long)
@ stub _ismbbpunct_l
@ cdecl _ismbbtrail(long)
@ stub _ismbbtrail_l
@ cdecl _ismbbtrail_l(long ptr)
@ cdecl _ismbcalnum(long)
@ stub _ismbcalnum_l
@ cdecl _ismbcalpha(long)
......
......@@ -1319,7 +1319,7 @@
@ stub _ismbbpunct(long)
@ stub _ismbbpunct_l
@ cdecl _ismbbtrail(long)
@ stub _ismbbtrail_l
@ cdecl _ismbbtrail_l(long ptr)
@ cdecl _ismbcalnum(long)
@ stub _ismbcalnum_l
@ cdecl _ismbcalpha(long)
......
......@@ -1322,7 +1322,7 @@
@ stub _ismbbpunct(long)
@ stub _ismbbpunct_l
@ cdecl _ismbbtrail(long)
@ stub _ismbbtrail_l
@ cdecl _ismbbtrail_l(long ptr)
@ cdecl _ismbcalnum(long)
@ stub _ismbcalnum_l
@ cdecl _ismbcalpha(long)
......
......@@ -1225,7 +1225,7 @@
@ cdecl _ismbbpunct(long) msvcr120._ismbbpunct
@ stub _ismbbpunct_l
@ cdecl _ismbbtrail(long) msvcr120._ismbbtrail
@ stub _ismbbtrail_l
@ cdecl _ismbbtrail_l(long ptr) msvcr120._ismbbtrail_l
@ cdecl _isnan(double) msvcr120._isnan
@ cdecl -arch=x86_64 _isnanf(float) msvcr120._isnanf
@ cdecl _isprint_l(long ptr) msvcr120._isprint_l
......
......@@ -645,7 +645,7 @@
@ stub _ismbbpunct(long)
@ stub _ismbbpunct_l
@ cdecl _ismbbtrail(long)
@ stub _ismbbtrail_l
@ cdecl _ismbbtrail_l(long ptr)
@ cdecl _ismbcalnum(long)
@ stub _ismbcalnum_l
@ cdecl _ismbcalpha(long)
......
......@@ -623,7 +623,7 @@
@ stub _ismbbpunct(long)
@ stub _ismbbpunct_l
@ cdecl _ismbbtrail(long)
@ stub _ismbbtrail_l
@ cdecl _ismbbtrail_l(long ptr)
@ cdecl _ismbcalnum(long)
@ stub _ismbcalnum_l
@ cdecl _ismbcalpha(long)
......
......@@ -1551,13 +1551,27 @@ int CDECL _ismbblead(unsigned int c)
return _ismbblead_l(c, NULL);
}
/*********************************************************************
* _ismbbtrail_l(MSVCRT.@)
*/
int CDECL _ismbbtrail_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] & _M2) != 0;
}
/*********************************************************************
* _ismbbtrail(MSVCRT.@)
*/
int CDECL _ismbbtrail(unsigned int c)
{
return (get_mbcinfo()->mbctype[(c&0xff) + 1] & _M2) != 0;
return _ismbbtrail_l(c, NULL);
}
/*********************************************************************
......
......@@ -594,7 +594,7 @@
@ stub _ismbbpunct(long)
# stub _ismbbpunct_l(long ptr)
@ cdecl _ismbbtrail(long)
# stub _ismbbtrail_l(long ptr)
@ cdecl _ismbbtrail_l(long ptr)
@ cdecl _ismbcalnum(long)
# stub _ismbcalnum_l(long ptr)
@ cdecl _ismbcalpha(long)
......
......@@ -461,7 +461,7 @@
@ stub _ismbbpunct(long)
@ stub _ismbbpunct_l
@ cdecl _ismbbtrail(long)
@ stub _ismbbtrail_l
@ cdecl _ismbbtrail_l(long ptr)
@ cdecl _ismbcalnum(long)
@ stub _ismbcalnum_l
@ cdecl _ismbcalpha(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