Adding upstream version 0.5.1

This commit is contained in:
Tatsuya Kinoshita
2011-05-04 16:05:14 +09:00
parent adc0f0ac3c
commit 72f72d64a4
403 changed files with 329486 additions and 0 deletions

17
libwc/viet.h Normal file
View File

@@ -0,0 +1,17 @@
#ifndef _WC_VIET_H
#define _WC_VIET_H
extern wc_uint8 wc_c0_tcvn57122_map[];
extern wc_uint8 wc_c0_viscii112_map[];
extern wc_uint8 wc_c0_vps2_map[];
extern Str wc_conv_from_viet(Str is, wc_ces ces);
extern void wc_push_to_viet(Str os, wc_wchar_t cc, wc_status *st);
extern void wc_push_to_cp1258(Str os, wc_wchar_t cc, wc_status *st);
extern wc_wchar_t wc_tcvn57123_to_tcvn5712(wc_wchar_t cc);
extern wc_uint32 wc_tcvn5712_precompose(wc_uchar c1, wc_uchar c2);
extern wc_uint32 wc_cp1258_precompose(wc_uchar c1, wc_uchar c2);
extern Str wc_char_conv_from_viet(wc_uchar c, wc_status *st);
#endif