# HG changeset patch # User Kenichi Handa # Date 864794186 0 # Node ID 9846609c4fd5c93be780dce0ed7f0ccc22afdbe8 # Parent 2873e0dabbc176978b464cd1708b9c55c3fc7cb9 (struct iso2022_spec): Member requested_designation is changed to array of unsigned char. (CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION): New macro. diff -r 2873e0dabbc1 -r 9846609c4fd5 src/coding.h --- a/src/coding.h Wed May 28 04:36:22 1997 +0000 +++ b/src/coding.h Wed May 28 04:36:26 1997 +0000 @@ -149,7 +149,7 @@ int initial_designation[4]; /* A graphic register to which each charset should be designated. */ - int requested_designation[MAX_CHARSET + 1]; + unsigned char requested_designation[MAX_CHARSET + 1]; /* Set to 1 temporarily only when graphic register 2 or 3 is invoked by single-shift while encoding. */ @@ -173,6 +173,12 @@ #define CODING_SPEC_ISO_BOL(coding) \ coding->spec.iso2022.bol +/* A value which may appear in + coding->spec.iso2022.requested_designation indicating that the + corresponding charset does not request any graphic register to be + designated. */ +#define CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION 4 + /* Return a charset which is currently designated to the graphic plane PLANE in the coding-system CODING. */ #define CODING_SPEC_ISO_PLANE_CHARSET(coding, plane) \