summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-05-03 09:20:21 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-05-03 09:20:21 (GMT)
commite8088626602ce5407a5c8ae750dedc0605fa0caf (patch)
tree0085b0e2e3022e355f2d715202d52d7bac5b6c1b /generic/tcl.h
parentcdf2e470a474e2b145783a723a53de913f80f714 (diff)
parentaa4247d47bc1e25669e09690c54330cebddd3f49 (diff)
downloadtcl-e8088626602ce5407a5c8ae750dedc0605fa0caf.zip
tcl-e8088626602ce5407a5c8ae750dedc0605fa0caf.tar.gz
tcl-e8088626602ce5407a5c8ae750dedc0605fa0caf.tar.bz2
Merge 9.0
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 69ab2c4..076f27e 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -1967,7 +1967,11 @@ typedef struct Tcl_EncodingType {
#define TCL_ENCODING_CHAR_LIMIT 0x10
/* Internal use bits, do not define bits in this space. See above comment */
#define TCL_ENCODING_INTERNAL_USE_MASK 0xFF00
-/* Reserve top byte for profile values (disjoint, not a mask) */
+/*
+ * Reserve top byte for profile values (disjoint, not a mask). In case of
+ * changes, ensure ENCODING_PROFILE_* macros in tclInt.h are modified if
+ * necessary.
+ */
#define TCL_ENCODING_PROFILE_STRICT TCL_ENCODING_STOPONERROR
#define TCL_ENCODING_PROFILE_TCL8 0x01000000
#define TCL_ENCODING_PROFILE_REPLACE 0x02000000