diff options
| author | Kenichi Handa | 1997-05-28 04:36:26 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-05-28 04:36:26 +0000 |
| commit | da30d5b1b85cd3ae6d28fe5366cd6e624a6316af (patch) | |
| tree | ad6c3e95c86aab6431fb0a953a210072b1c9583a /src/coding.h | |
| parent | 7e798f25b730162c8c69d88fa0d29c79f81d59fa (diff) | |
| download | emacs-da30d5b1b85cd3ae6d28fe5366cd6e624a6316af.tar.gz emacs-da30d5b1b85cd3ae6d28fe5366cd6e624a6316af.zip | |
(struct iso2022_spec): Member requested_designation is
changed to array of unsigned char.
(CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION): New macro.
Diffstat (limited to 'src/coding.h')
| -rw-r--r-- | src/coding.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/coding.h b/src/coding.h index f0b4033d107..0c119999ddf 100644 --- a/src/coding.h +++ b/src/coding.h | |||
| @@ -149,7 +149,7 @@ struct iso2022_spec | |||
| 149 | int initial_designation[4]; | 149 | int initial_designation[4]; |
| 150 | 150 | ||
| 151 | /* A graphic register to which each charset should be designated. */ | 151 | /* A graphic register to which each charset should be designated. */ |
| 152 | int requested_designation[MAX_CHARSET + 1]; | 152 | unsigned char requested_designation[MAX_CHARSET + 1]; |
| 153 | 153 | ||
| 154 | /* Set to 1 temporarily only when graphic register 2 or 3 is invoked | 154 | /* Set to 1 temporarily only when graphic register 2 or 3 is invoked |
| 155 | by single-shift while encoding. */ | 155 | by single-shift while encoding. */ |
| @@ -173,6 +173,12 @@ struct iso2022_spec | |||
| 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 | /* A value which may appear in | ||
| 177 | coding->spec.iso2022.requested_designation indicating that the | ||
| 178 | corresponding charset does not request any graphic register to be | ||
| 179 | designated. */ | ||
| 180 | #define CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION 4 | ||
| 181 | |||
| 176 | /* Return a charset which is currently designated to the graphic plane | 182 | /* Return a charset which is currently designated to the graphic plane |
| 177 | PLANE in the coding-system CODING. */ | 183 | PLANE in the coding-system CODING. */ |
| 178 | #define CODING_SPEC_ISO_PLANE_CHARSET(coding, plane) \ | 184 | #define CODING_SPEC_ISO_PLANE_CHARSET(coding, plane) \ |