summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-02-11 01:51:32 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-02-11 01:51:32 (GMT)
commitc2f0e2f8da529b6bd9f8793a07e73ed1bb6eb903 (patch)
tree53ec5e70589f0a7f16f5a33a44f1e01ecf8f2c23 /generic/tcl.h
parente26214c28753b22c398ba4d7196a8afae999ab5a (diff)
downloadtcl-c2f0e2f8da529b6bd9f8793a07e73ed1bb6eb903.zip
tcl-c2f0e2f8da529b6bd9f8793a07e73ed1bb6eb903.tar.gz
tcl-c2f0e2f8da529b6bd9f8793a07e73ed1bb6eb903.tar.bz2
Eliminate TCL_ENCODING_{STRICT,NOCOMPLAIN}
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index ec94e71..b7d31aa 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -2127,14 +2127,8 @@ typedef struct Tcl_EncodingType {
* 0x00. Only valid for "utf-8" and "cesu-8".
* This flag is implicit for external -> internal conversions,
* optional for internal -> external conversions.
- * TCL_ENCODING_NOCOMPLAIN - If set, the converter
- * substitutes the problematic character(s) with
- * one or more "close" characters in the
- * destination buffer and then continues to
- * convert the source. If clear, the converter returns
- * immediately upon encountering an invalid byte sequence
- * or a source character that has no mapping in the
- * target encoding. Only for Tcl 9.x.
+ * TCL_ENCODING_PROFILE_* - Mutually exclusive encoding profile ids. Note
+ * these are bit masks.
*/
#define TCL_ENCODING_START 0x01
@@ -2143,8 +2137,6 @@ typedef struct Tcl_EncodingType {
#define TCL_ENCODING_NO_TERMINATE 0x08
#define TCL_ENCODING_CHAR_LIMIT 0x10
#define TCL_ENCODING_MODIFIED 0x20
-#define TCL_ENCODING_NOCOMPLAIN 0x40
-#define TCL_ENCODING_STRICT 0x44
/* Reserve top byte for profile values (disjoint) */
#define TCL_ENCODING_PROFILE_TCL8 0x01000000
#define TCL_ENCODING_PROFILE_STRICT 0x02000000