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.6 by root, Wed Aug 4 03:29:28 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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines