summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2021-11-08 00:06:27 (GMT)
committerdgp <dgp@users.sourceforge.net>2021-11-08 00:06:27 (GMT)
commit411fc46d4f5e5e93a7d69db7f50e42b53005e343 (patch)
tree225af54f823864e3d85cd793e586d141337cfee1 /generic/tclInt.h
parenta112105294460f178a371ba9116b11c263b29f00 (diff)
downloadtcl-411fc46d4f5e5e93a7d69db7f50e42b53005e343.zip
tcl-411fc46d4f5e5e93a7d69db7f50e42b53005e343.tar.gz
tcl-411fc46d4f5e5e93a7d69db7f50e42b53005e343.tar.bz2
[9899c273ab] Rewrite Tcl_InitStringRep to account for all encounters with
the non-allocated empty string rep.
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 03d005a..7b03502 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -4492,7 +4492,8 @@ MODULE_SCOPE void TclDbInitNewObj(Tcl_Obj *objPtr, const char *file,
* must point to a location from which "len" bytes may be read. These
* constraints are not checked here. The validity of the bytes copied
* as a value string representation is also not verififed. This macro
- * must not be called while "objPtr" is being freed. The caller must use
+ * must not be called while "objPtr" is being freed or when "objPtr"
+ * already has a string representation. The caller must use
* this macro properly. Improper use can lead to dangerous results.
* Because "len" is referenced multiple times, take care that it is an
* expression with the same value each use.