From 604c11affe988bab23c87598c02248fff1d73f43 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Mon, 22 Sep 2003 21:02:15 +0000 Subject: merge m17n patch add libwc --- libwc/hz.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 libwc/hz.h (limited to 'libwc/hz.h') diff --git a/libwc/hz.h b/libwc/hz.h new file mode 100644 index 0000000..62d9782 --- /dev/null +++ b/libwc/hz.h @@ -0,0 +1,20 @@ + +#ifndef _WC_HZ_H +#define _WC_HZ_H + +#define WC_C_HZ_TILDA '~' +#define WC_C_HZ_SI '{' +#define WC_C_HZ_SO '}' + +#define WC_HZ_NOSTATE 0 +#define WC_HZ_TILDA 1 +#define WC_HZ_TILDA_MB 2 +#define WC_HZ_MBYTE 3 +#define WC_HZ_MBYTE1 4 +#define WC_HZ_MBYTE1_GR 5 + +extern Str wc_conv_from_hz(Str is, wc_ces ces); +extern void wc_push_to_hz(Str os, wc_wchar_t cc, wc_status *st); +extern void wc_push_to_hz_end(Str os, wc_status *st); + +#endif -- cgit v1.2.3