Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e6de76f8
Commit
e6de76f8
authored
Aug 10, 1997
by
Kenichi Handa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(struct iso2022_spec): New member expected_charsets.
(CODING_SPEC_ISO_EXPECTED_CHARSETS): New macro.
parent
25192984
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
src/coding.h
src/coding.h
+8
-0
No files found.
src/coding.h
View file @
e6de76f8
...
...
@@ -157,6 +157,12 @@ struct iso2022_spec
/* A graphic register to which each charset should be designated. */
unsigned
char
requested_designation
[
MAX_CHARSET
+
1
];
/* Table of expected character sets for this coding system. If the
Nth element is 0, the charset of ID N is not an expected
character set. Such a character set is not encoded when
CODING_ISO_FLAG_SAFE is set. */
unsigned
char
expected_charsets
[
MAX_CHARSET
+
1
];
/* Set to 1 temporarily only when graphic register 2 or 3 is invoked
by single-shift while encoding. */
int
single_shifting
;
...
...
@@ -174,6 +180,8 @@ struct iso2022_spec
coding->spec.iso2022.initial_designation[reg]
#define CODING_SPEC_ISO_REQUESTED_DESIGNATION(coding, charset) \
coding->spec.iso2022.requested_designation[charset]
#define CODING_SPEC_ISO_EXPECTED_CHARSETS(coding) \
coding->spec.iso2022.expected_charsets
#define CODING_SPEC_ISO_SINGLE_SHIFTING(coding) \
coding->spec.iso2022.single_shifting
#define CODING_SPEC_ISO_BOL(coding) \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment