| Server IP : 121.121.20.254 / Your IP : 216.73.216.146 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files (x86)/Windows Kits/10/Source/10.0.26100.0/ucrt/locale/ |
Upload File : |
//
// locale_update.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Encapsulated implementation details of _LocaleUpdate that cannot be defined
// in the header because they refer to data not exported from the AppCRT DLL.
//
#include <corecrt_internal.h>
extern "C" void __acrt_update_locale_info(
__acrt_ptd* const ptd,
__crt_locale_data** const locale_info
)
{
if (*locale_info != __acrt_current_locale_data.value() && __acrt_should_sync_with_global_locale(ptd))
{
*locale_info = __acrt_update_thread_locale_data();
}
}
extern "C" void __acrt_update_multibyte_info(
__acrt_ptd* const ptd,
__crt_multibyte_data** const multibyte_info
)
{
if (*multibyte_info != __acrt_current_multibyte_data.value() && __acrt_should_sync_with_global_locale(ptd))
{
*multibyte_info = __acrt_update_thread_multibyte_data();
}
}
extern "C" void __acrt_update_locale_info_explicit(
__acrt_ptd* const ptd,
__crt_locale_data** const locale_info,
size_t const current_global_state_index
)
{
if (*locale_info != __acrt_current_locale_data.value_explicit(current_global_state_index) && __acrt_should_sync_with_global_locale(ptd))
{
*locale_info = __acrt_update_thread_locale_data();
}
}
extern "C" void __acrt_update_multibyte_info_explicit(
__acrt_ptd* const ptd,
__crt_multibyte_data** const multibyte_info,
size_t const current_global_state_index
)
{
if (*multibyte_info != __acrt_current_multibyte_data.value_explicit(current_global_state_index) && __acrt_should_sync_with_global_locale(ptd))
{
*multibyte_info = __acrt_update_thread_multibyte_data();
}
}