Mercurial > emacs
comparison src/coding.h @ 17724:545c2f09f14d
(CODING_SPEC_ISO_PLANE_CHARSET): Return -1 if no
character set is invoked to PLANE.
(struct coding_system): New member character_unification_table.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Sat, 10 May 1997 03:37:01 +0000 |
| parents | 6637001cdb4b |
| children | f36ffb6f1208 |
comparison
equal
deleted
inserted
replaced
| 17723:f67a321c8fb6 | 17724:545c2f09f14d |
|---|---|
| 173 #define CODING_SPEC_ISO_BOL(coding) \ | 173 #define CODING_SPEC_ISO_BOL(coding) \ |
| 174 coding->spec.iso2022.bol | 174 coding->spec.iso2022.bol |
| 175 | 175 |
| 176 /* Return a charset which is currently designated to the graphic plane | 176 /* Return a charset which is currently designated to the graphic plane |
| 177 PLANE in the coding-system CODING. */ | 177 PLANE in the coding-system CODING. */ |
| 178 #define CODING_SPEC_ISO_PLANE_CHARSET(coding, plane) \ | 178 #define CODING_SPEC_ISO_PLANE_CHARSET(coding, plane) \ |
| 179 CODING_SPEC_ISO_DESIGNATION \ | 179 ((CODING_SPEC_ISO_INVOCATION (coding, plane) < 0) \ |
| 180 (coding, CODING_SPEC_ISO_INVOCATION (coding, plane)) | 180 ? -1 \ |
| 181 : CODING_SPEC_ISO_DESIGNATION (coding, \ | |
| 182 CODING_SPEC_ISO_INVOCATION (coding, plane))) | |
| 181 | 183 |
| 182 /*** BIG5 section ***/ | 184 /*** BIG5 section ***/ |
| 183 | 185 |
| 184 /* Macros to denote each type of BIG5 coding system. */ | 186 /* Macros to denote each type of BIG5 coding system. */ |
| 185 #define CODING_FLAG_BIG5_HKU 0x00 /* BIG5-HKU is one of variants of | 187 #define CODING_FLAG_BIG5_HKU 0x00 /* BIG5-HKU is one of variants of |
| 286 | 288 |
| 287 /* Lisp function (symbol) to be called before encoding to do | 289 /* Lisp function (symbol) to be called before encoding to do |
| 288 additional conversion. */ | 290 additional conversion. */ |
| 289 Lisp_Object pre_write_conversion; | 291 Lisp_Object pre_write_conversion; |
| 290 | 292 |
| 293 /* Character unification table to look up, or nil. */ | |
| 294 Lisp_Object character_unification_table; | |
| 295 | |
| 291 /* Carryover yielded by decoding/encoding incomplete source. No | 296 /* Carryover yielded by decoding/encoding incomplete source. No |
| 292 coding-system yields more than 7-byte of carryover. This does | 297 coding-system yields more than 7-byte of carryover. This does |
| 293 not include a text which is not processed because of short of | 298 not include a text which is not processed because of short of |
| 294 output buffer. */ | 299 output buffer. */ |
| 295 char carryover[8]; | 300 char carryover[8]; |
