summaryrefslogtreecommitdiffstats
path: root/doc/StringObj.3
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2023-04-21 20:32:38 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2023-04-21 20:32:38 (GMT)
commita3380d8151e2791d70300455b60e8a6a73948c0c (patch)
treed856519dc3b65447e136c8ffa5107cc574825e4f /doc/StringObj.3
parente3e6c3396989a8609a9544e197c4a3fa5e213f82 (diff)
downloadtcl-a3380d8151e2791d70300455b60e8a6a73948c0c.zip
tcl-a3380d8151e2791d70300455b60e8a6a73948c0c.tar.gz
tcl-a3380d8151e2791d70300455b60e8a6a73948c0c.tar.bz2
Make Tcl_AppendObjToObj more efficient and avoid unnecessarily generating a
string representation when the object to append to is the empty string.
Diffstat (limited to 'doc/StringObj.3')
-rw-r--r--doc/StringObj.32
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/StringObj.3 b/doc/StringObj.3
index d835140..b708298 100644
--- a/doc/StringObj.3
+++ b/doc/StringObj.3
@@ -115,7 +115,7 @@ The index of the last Unicode character in the Unicode range to be
returned as a new value. If negative, take all characters up to
the last one available.
.AP Tcl_Obj *objPtr in/out
-Points to a value to manipulate.
+A pointer to a value to read, or to an unshared value to modify.
.AP Tcl_Obj *appendObjPtr in
The value to append to \fIobjPtr\fR in \fBTcl_AppendObjToObj\fR.
.AP "Tcl_Size \&| int" *lengthPtr out