Flutter Engine
The Flutter Engine
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
SkGetICULib
const SkICULib * SkGetICULib()
Definition:
SkUnicode_icu.cpp:49
SkLoadICU
static bool SkLoadICU()
Definition:
SkLoadICU.h:13
SkOnce
Definition:
SkOnce.h:22
Generated on Sun Jun 23 2024 22:00:53 for Flutter Engine by
1.9.4