msvcrt: Added ___mb_cur_max_l_func implementation.
This commit is contained in:
parent
3f4eded5d4
commit
100e925cb4
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.@)
|
||||
*/
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue