Commit 100e925c authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Added ___mb_cur_max_l_func implementation.

parent 3f4eded5
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
@ cdecl ___lc_collate_cp_func() msvcrt.___lc_collate_cp_func @ cdecl ___lc_collate_cp_func() msvcrt.___lc_collate_cp_func
@ cdecl ___lc_handle_func() msvcrt.___lc_handle_func @ cdecl ___lc_handle_func() msvcrt.___lc_handle_func
@ cdecl ___mb_cur_max_func() msvcrt.___mb_cur_max_func @ cdecl ___mb_cur_max_func() msvcrt.___mb_cur_max_func
@ stub ___mb_cur_max_l_func @ cdecl ___mb_cur_max_l_func(ptr) msvcrt.___mb_cur_max_l_func
@ cdecl ___setlc_active_func() msvcrt.___setlc_active_func @ cdecl ___setlc_active_func() msvcrt.___setlc_active_func
@ cdecl ___unguarded_readlc_active_add_func() msvcrt.___unguarded_readlc_active_add_func @ cdecl ___unguarded_readlc_active_add_func() msvcrt.___unguarded_readlc_active_add_func
@ extern __argc msvcrt.__argc @ extern __argc msvcrt.__argc
......
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
@ cdecl ___lc_collate_cp_func() msvcrt.___lc_collate_cp_func @ cdecl ___lc_collate_cp_func() msvcrt.___lc_collate_cp_func
@ cdecl ___lc_handle_func() msvcrt.___lc_handle_func @ cdecl ___lc_handle_func() msvcrt.___lc_handle_func
@ cdecl ___mb_cur_max_func() msvcrt.___mb_cur_max_func @ cdecl ___mb_cur_max_func() msvcrt.___mb_cur_max_func
@ stub ___mb_cur_max_l_func @ cdecl ___mb_cur_max_l_func(ptr) msvcrt.___mb_cur_max_l_func
@ cdecl ___setlc_active_func() msvcrt.___setlc_active_func @ cdecl ___setlc_active_func() msvcrt.___setlc_active_func
@ cdecl ___unguarded_readlc_active_add_func() msvcrt.___unguarded_readlc_active_add_func @ cdecl ___unguarded_readlc_active_add_func() msvcrt.___unguarded_readlc_active_add_func
@ extern __argc msvcrt.__argc @ extern __argc msvcrt.__argc
......
...@@ -169,6 +169,15 @@ int* CDECL MSVCRT____mb_cur_max_func(void) ...@@ -169,6 +169,15 @@ int* CDECL MSVCRT____mb_cur_max_func(void)
return &get_locale()->locinfo->mb_cur_max; return &get_locale()->locinfo->mb_cur_max;
} }
/* ___mb_cur_max_l_func - not exported in native msvcrt */
int* CDECL ___mb_cur_max_l_func(MSVCRT__locale_t locale)
{
if(!locale)
locale = get_locale();
return &locale->locinfo->mb_cur_max;
}
/********************************************************************* /*********************************************************************
* _setmbcp (MSVCRT.@) * _setmbcp (MSVCRT.@)
*/ */
......
...@@ -1436,3 +1436,4 @@ ...@@ -1436,3 +1436,4 @@
@ cdecl _free_locale(ptr) @ cdecl _free_locale(ptr)
@ cdecl _configthreadlocale(long) @ cdecl _configthreadlocale(long)
@ cdecl _wcstod_l(wstr ptr) MSVCRT__wcstod_l @ cdecl _wcstod_l(wstr ptr) MSVCRT__wcstod_l
@ cdecl ___mb_cur_max_l_func(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