summaryrefslogtreecommitdiffstats
path: root/generic/tclStringObj.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-10-28 14:26:18 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-10-28 14:26:18 (GMT)
commit597d65b1e9b9c0c40782bc5ee8b372bf4bb6b995 (patch)
treee183241921d34e3324be13c516af04a7c16a6c44 /generic/tclStringObj.c
parentd758de074e41af0de8b114e30401f19d5eeb3c6c (diff)
parente0d5715972ba45f8d23f0349033503b2195b1664 (diff)
downloadtcl-597d65b1e9b9c0c40782bc5ee8b372bf4bb6b995.zip
tcl-597d65b1e9b9c0c40782bc5ee8b372bf4bb6b995.tar.gz
tcl-597d65b1e9b9c0c40782bc5ee8b372bf4bb6b995.tar.bz2
Add warning commentary making important assumptions explicit.
Diffstat (limited to 'generic/tclStringObj.c')
-rw-r--r--generic/tclStringObj.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c
index 60b08ae..91c0e74 100644
--- a/generic/tclStringObj.c
+++ b/generic/tclStringObj.c
@@ -1198,6 +1198,8 @@ Tcl_AppendUnicodeToObj(
* Side effects:
* The string rep of appendObjPtr is appended to the string
* representation of objPtr.
+ * IMPORTANT: This routine does not and MUST NOT shimmer appendObjPtr.
+ * Callers are counting on that.
*
*----------------------------------------------------------------------
*/