msvcrt: Added ___mb_cur_max_l_func implementation.

This commit is contained in:
Piotr Caban 2010-05-05 13:37:18 +02:00 committed by Alexandre Julliard
parent 3f4eded5d4
commit 100e925cb4
4 changed files with 12 additions and 2 deletions

View file

@ -136,7 +136,7 @@
@ cdecl ___lc_collate_cp_func() msvcrt.___lc_collate_cp_func
@ cdecl ___lc_handle_func() msvcrt.___lc_handle_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 ___unguarded_readlc_active_add_func() msvcrt.___unguarded_readlc_active_add_func
@ extern __argc msvcrt.__argc

View file

@ -133,7 +133,7 @@
@ cdecl ___lc_collate_cp_func() msvcrt.___lc_collate_cp_func
@ cdecl ___lc_handle_func() msvcrt.___lc_handle_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 ___unguarded_readlc_active_add_func() msvcrt.___unguarded_readlc_active_add_func
@ extern __argc msvcrt.__argc

View file

@ -169,6 +169,15 @@ int* CDECL MSVCRT____mb_cur_max_func(void)
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.@)
*/

View file

@ -1436,3 +1436,4 @@
@ cdecl _free_locale(ptr)
@ cdecl _configthreadlocale(long)
@ cdecl _wcstod_l(wstr ptr) MSVCRT__wcstod_l
@ cdecl ___mb_cur_max_l_func(ptr)