summaryrefslogtreecommitdiffstats
path: root/generic/tclUtf.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-02 13:35:21 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-02 13:35:21 (GMT)
commit61ef69a2d84ae00685d204fed3d8eae694947bf3 (patch)
treece832099980745613719d43efcef498e34cee363 /generic/tclUtf.c
parent09e5d9ded7cbb1cbd9098052f41da54a917a310a (diff)
downloadtcl-61ef69a2d84ae00685d204fed3d8eae694947bf3.zip
tcl-61ef69a2d84ae00685d204fed3d8eae694947bf3.tar.gz
tcl-61ef69a2d84ae00685d204fed3d8eae694947bf3.tar.bz2
Document that the *Backslash parsing functions output maximum 4 bytes, irrespectable of the TCL_UTF_MAX setting: It could be 4 for the "\Uxxxxxx" construct, but never more.
Move <stddef.h> and <locale.h> to tclInt.h, so the can be removed from various other places.
Diffstat (limited to 'generic/tclUtf.c')
-rw-r--r--generic/tclUtf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclUtf.c b/generic/tclUtf.c
index 86d1913..1387ee7 100644
--- a/generic/tclUtf.c
+++ b/generic/tclUtf.c
@@ -1044,7 +1044,7 @@ Tcl_UtfAtIndex(
*
* Results:
* Stores the bytes represented by the backslash sequence in dst and
- * returns the number of bytes written to dst. At most TCL_UTF_MAX bytes
+ * returns the number of bytes written to dst. At most 4 bytes
* are written to dst; dst must have been large enough to accept those
* bytes. If readPtr isn't NULL then it is filled in with a count of the
* number of bytes in the backslash sequence.