ReactOS
0.4.16-dev-853-g88d9285
multibyte_initializer.cpp
Go to the documentation of this file.
1
//
2
// multibyte_initializer.cpp
3
//
4
// Copyright (c) Microsoft Corporation. All rights reserved.
5
//
6
// CRT initializers and terminators have been extracted from the main CRT sources
7
// to enable the CRT DLL to be built with LTCG enabled. The source files in which
8
// the CRT initializers and terminators are defined cannot be compiled as /GL
9
// because the compiler will optimize them away during link-time code generation.
10
// We inhibit this optimization by defining the initializers and terminators in
11
// separate source files that are not compiled with /GL.
12
//
13
#include <
corecrt_internal.h
>
14
15
static
int
__cdecl
initialize_multibyte
()
throw
()
16
{
17
return
!
__acrt_initialize_multibyte
();
18
}
19
20
extern
"C"
_CRTALLOC
(
".CRT$XIC"
)
_PIFV
const
__acrt_multibyte_initializer =
initialize_multibyte
;
__cdecl
#define __cdecl
Definition:
accygwin.h:79
corecrt_internal.h
__acrt_initialize_multibyte
bool __cdecl __acrt_initialize_multibyte(void)
Definition:
mbctype.cpp:894
_PIFV
int(__cdecl * _PIFV)(void)
Definition:
corecrt_startup.h:113
throw
result_buffer_count char *const _In_ int const _In_ bool const _In_ unsigned const _In_ STRFLT const _In_ bool const _Inout_ __crt_cached_ptd_host &ptd throw()
Definition:
cvt.cpp:119
_CRTALLOC
#define _CRTALLOC(x)
Definition:
fma3_available.c:37
initialize_multibyte
static int __cdecl initialize_multibyte()
Definition:
multibyte_initializer.cpp:15
const
#define const
Definition:
zconf.h:233
sdk
lib
ucrt
initializers
multibyte_initializer.cpp
Generated on Mon Mar 24 2025 06:14:46 for ReactOS by
1.9.6