| 223 | |
| 224 | |
| 225 | void 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 | } |
no test coverage detected