MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / CVICU_convert_init

Function CVICU_convert_init

src/intl/cv_icu.cpp:225–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223
224
225void CVICU_convert_init(charset* cs)
226{
227 cs->charset_to_unicode.csconvert_version = CSCONVERT_VERSION_1;
228 cs->charset_to_unicode.csconvert_name = "ICU->UNICODE";
229 cs->charset_to_unicode.csconvert_fn_convert = icu_to_unicode;
230 cs->charset_to_unicode.csconvert_fn_destroy = convert_destroy;
231 cs->charset_to_unicode.csconvert_impl = FB_NEW CsConvertImpl();
232 cs->charset_to_unicode.csconvert_impl->cs = cs;
233
234 cs->charset_from_unicode.csconvert_version = CSCONVERT_VERSION_1;
235 cs->charset_from_unicode.csconvert_name = "UNICODE->ICU";
236 cs->charset_from_unicode.csconvert_fn_convert = unicode_to_icu;
237 cs->charset_from_unicode.csconvert_fn_destroy = convert_destroy;
238 cs->charset_from_unicode.csconvert_impl = FB_NEW CsConvertImpl();
239 cs->charset_from_unicode.csconvert_impl->cs = cs;
240}

Callers 1

CSICU_charset_initFunction · 0.85

Calls 1

CsConvertImplClass · 0.70

Tested by

no test coverage detected