Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
SkUnicodes
ICU
Functions
SkUnicodes::ICU Namespace Reference
Functions
SKUNICODE_API
sk_sp
<
SkUnicode
>
Make
()
Function Documentation
◆
Make()
sk_sp
<
SkUnicode
> SkUnicodes::ICU::Make
(
)
Definition at line
685
of file
SkUnicode_icu.cpp
.
685
{
686
// We haven't yet created a way to encode the ICU data for assembly on Windows,
687
// so we use a helper library to load icudtl.dat from the harddrive.
688
#if defined(SK_USING_THIRD_PARTY_ICU) && defined(SK_BUILD_FOR_WIN)
689
if
(!
SkLoadICU
()) {
690
static
SkOnce
once;
691
once([] {
SkDEBUGF
(
"SkLoadICU() failed!\n"
); });
692
return
nullptr
;
693
}
694
#endif
695
if
(
SkGetICULib
()) {
696
return
sk_make_sp<SkUnicode_icu>();
697
}
698
return
nullptr
;
699
}
SkDEBUGF
#define SkDEBUGF(...)
Definition
SkDebug.h:24
SkLoadICU
static bool SkLoadICU()
Definition
SkLoadICU.h:13
SkGetICULib
const SkICULib * SkGetICULib()
Definition
SkUnicode_icu.cpp:49
SkOnce
Definition
SkOnce.h:22
Generated on Fri Apr 26 2024 06:22:31 for Flutter Engine by
1.9.8