ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/gentables
(Generate patch)

Comparing rxvt-unicode/src/gentables (file contents):
Revision 1.5 by pcg, Mon Mar 15 01:27:46 2004 UTC vs.
Revision 1.7 by root, Sun Sep 5 09:32:59 2004 UTC

234// AUTOMATICALLLY GENERATED by gentables 234// AUTOMATICALLLY GENERATED by gentables
235// 235//
236#ifdef ENCODING_$group 236#ifdef ENCODING_$group
237 237
238$tab1$tab2 238$tab1$tab2
239struct rxvt_codeset_conv_$base : rxvt_codeset_conv {
240 uint32_t from_unicode (unicode_t unicode) const { 239static uint32_t cs_$base\_from_unicode (unicode_t unicode) {
241$fun1 } 240$fun1}
242EOF 241EOF
243 242
244if ($TO_UNICODE) { 243if ($TO_UNICODE) {
245 print OUT <<EOF 244 print OUT <<EOF
246#if ENCODING_TO_UNICODE 245#if ENCODING_TO_UNICODE
247 unicode_t to_unicode (uint32_t enc) const { 246static unicode_t cs_$base\_to_unicode (uint32_t enc) {
248$fun2 } 247$fun2}
249#endif 248#endif
250EOF 249EOF
251} 250}
252 251
253print OUT <<EOF; 252print OUT <<EOF;
254} rxvt_codeset_conv_$base;
255 253
256#else 254#else
257 255
258#define rxvt_codeset_conv_$base rxvt_codeset_conv_unknown 256#define cs_$base\_from_unicode cs_unknown_from_unicode
257#define cs_$base\_to_unicode cs_unknown_to_unicode
259 258
260#endif 259#endif
261EOF 260EOF
262 261
263 close OUT; 262 close OUT;
264} 263}
265 264
266__DATA__ 265__DATA__
267VN viscii viscii 266VN viscii viscii
268KR ksc5601_1987_0 ksc5601-raw 267KR ksc5601_1987_0 ksc5601-raw
269CN gb2312_1980_0 gb2312-raw 268ZH gb2312_1980_0 gb2312-raw
270CN_EXT cns11643_1992_1 cns11643-1 269ZH_EXT cns11643_1992_1 cns11643-1
271CN_EXT cns11643_1992_2 cns11643-2 270ZH_EXT cns11643_1992_2 cns11643-2
272CN_EXT cns11643_1992_3 cns11643-3 271ZH_EXT cns11643_1992_3 cns11643-3
273CN_EXT cns11643_1992_4 cns11643-4 272ZH_EXT cns11643_1992_4 cns11643-4
274CN_EXT cns11643_1992_5 cns11643-5 273ZH_EXT cns11643_1992_5 cns11643-5
275CN_EXT cns11643_1992_6 cns11643-6 274ZH_EXT cns11643_1992_6 cns11643-6
276CN_EXT cns11643_1992_7 cns11643-7 275ZH_EXT cns11643_1992_7 cns11643-7
277CN_EXT cns11643_1992_f cns11643-f 276ZH_EXT cns11643_1992_f cns11643-f
278CN big5 big5 277ZH big5 big5
279CN_EXT big5_ext big5ext 278ZH_EXT big5_ext big5ext
280CN_EXT big5_plus big5plus 279ZH_EXT big5_plus big5plus
281EU koi8_r koi8-r 280EU koi8_r koi8-r
282EU koi8_u koi8-u 281EU koi8_u koi8-u
283DEFAULT iso8859_1 iso-8859-1 282DEFAULT iso8859_1 iso-8859-1
284EU iso8859_2 iso-8859-2 283EU iso8859_2 iso-8859-2
285EU iso8859_3 iso-8859-3 284EU iso8859_3 iso-8859-3

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines