| 30 | |
| 31 | |
| 32 | void CV_convert_init(csconvert* csptr, |
| 33 | pfn_INTL_convert cvt_fn, |
| 34 | const void* datatable, |
| 35 | const void* datatable2) |
| 36 | { |
| 37 | csptr->csconvert_version = CSCONVERT_VERSION_1; |
| 38 | csptr->csconvert_name = "DIRECT"; |
| 39 | csptr->csconvert_fn_convert = cvt_fn; |
| 40 | csptr->csconvert_fn_destroy = CV_convert_destroy; |
| 41 | csptr->csconvert_impl = FB_NEW CsConvertImpl(); |
| 42 | csptr->csconvert_impl->csconvert_datatable = (const BYTE*) datatable; |
| 43 | csptr->csconvert_impl->csconvert_misc = (const BYTE*) datatable2; |
| 44 | } |
| 45 | |
| 46 | |
| 47 | ULONG CV_unicode_to_nc(csconvert* obj, |
no test coverage detected