summaryrefslogtreecommitdiffstats
path: root/generic/tclStringObj.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-10-28 14:27:59 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-10-28 14:27:59 (GMT)
commita81f6b904b3b6777ed2da4e55b669b7e4770dcc9 (patch)
tree91dfd482cf979d51bf3be729dc624b83b1f7ac37 /generic/tclStringObj.c
parent4968966c028c3577f5ef3e604cf1e98b7c37d824 (diff)
parent597d65b1e9b9c0c40782bc5ee8b372bf4bb6b995 (diff)
downloadtcl-a81f6b904b3b6777ed2da4e55b669b7e4770dcc9.zip
tcl-a81f6b904b3b6777ed2da4e55b669b7e4770dcc9.tar.gz
tcl-a81f6b904b3b6777ed2da4e55b669b7e4770dcc9.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 e878167..fefb014 100644
--- a/generic/tclStringObj.c
+++ b/generic/tclStringObj.c
@@ -1182,6 +1182,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.
*
*----------------------------------------------------------------------
*/