summaryrefslogtreecommitdiffstats
path: root/generic/tclEncoding.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2017-11-30 17:52:09 (GMT)
committerdgp <dgp@users.sourceforge.net>2017-11-30 17:52:09 (GMT)
commit49e332ded25e7502ce49b62bb7ef6b22cdd2e90f (patch)
tree26dbaafb612b99b197231d5759173873cbb1d4e9 /generic/tclEncoding.c
parent079887fe42be52a69c2b001ae3efb5dae39862e6 (diff)
parentdb726dc570738b047f110645527b804c3b59d28e (diff)
downloadtcl-49e332ded25e7502ce49b62bb7ef6b22cdd2e90f.zip
tcl-49e332ded25e7502ce49b62bb7ef6b22cdd2e90f.tar.gz
tcl-49e332ded25e7502ce49b62bb7ef6b22cdd2e90f.tar.bz2
merge 8.7
Diffstat (limited to 'generic/tclEncoding.c')
-rw-r--r--generic/tclEncoding.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclEncoding.c b/generic/tclEncoding.c
index bf1e02f..c2ee21f 100644
--- a/generic/tclEncoding.c
+++ b/generic/tclEncoding.c
@@ -18,7 +18,7 @@ typedef size_t (LengthProc)(const char *src);
* convert between various character sets and UTF-8.
*/
-typedef struct Encoding {
+typedef struct {
char *name; /* Name of encoding. Malloced because (1) hash
* table entry that owns this encoding may be
* freed prior to this encoding being freed,
@@ -57,7 +57,7 @@ typedef struct Encoding {
* encoding.
*/
-typedef struct TableEncodingData {
+typedef struct {
int fallback; /* Character (in this encoding) to substitute
* when this encoding cannot represent a UTF-8
* character. */
@@ -91,7 +91,7 @@ typedef struct TableEncodingData {
* for switching character sets.
*/
-typedef struct EscapeSubTable {
+typedef struct {
unsigned sequenceLen; /* Length of following string. */
char sequence[16]; /* Escape code that marks this encoding. */
char name[32]; /* Name for encoding. */
@@ -100,7 +100,7 @@ typedef struct EscapeSubTable {
* yet. */
} EscapeSubTable;
-typedef struct EscapeEncodingData {
+typedef struct {
int fallback; /* Character (in this encoding) to substitute
* when this encoding cannot represent a UTF-8
* character. */