summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-06-12 22:45:30 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-06-12 22:45:30 (GMT)
commit2e58eced0d47543779be15e4c9bcdd80b4cc4055 (patch)
tree4b5b7e3154f9bddf8b0192b791ee9c6444624948 /generic/tcl.h
parentfc3837a30a391bbab01d37b92e2d77b88274e1e2 (diff)
parentd07e50e54a59bd0355c5fa01c44ef95b1677835c (diff)
downloadtcl-2e58eced0d47543779be15e4c9bcdd80b4cc4055.zip
tcl-2e58eced0d47543779be15e4c9bcdd80b4cc4055.tar.gz
tcl-2e58eced0d47543779be15e4c9bcdd80b4cc4055.tar.bz2
Merge 9.0
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index b3789c0..45e949b 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -809,8 +809,8 @@ typedef struct {
typedef struct Tcl_DString {
char *string; /* Points to beginning of string: either
* staticSpace below or a malloced array. */
- Tcl_Size length; /* Number of non-NULL characters in the
- * string. */
+ Tcl_Size length; /* Number of bytes in string excluding
+ * terminating nul */
Tcl_Size spaceAvl; /* Total number of bytes available for the
* string and its terminating NULL char. */
char staticSpace[TCL_DSTRING_STATIC_SIZE];