summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2023-04-23 11:28:19 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2023-04-23 11:28:19 (GMT)
commiteb3390224b747aaaa35c97882c56dc03d93ee6d9 (patch)
tree8ac3f6bfcfa5b5090a360f2d98bded7dc87be8f6 /doc
parentadab48a862ff6f51843a70841412086a21331469 (diff)
downloadtcl-eb3390224b747aaaa35c97882c56dc03d93ee6d9.zip
tcl-eb3390224b747aaaa35c97882c56dc03d93ee6d9.tar.gz
tcl-eb3390224b747aaaa35c97882c56dc03d93ee6d9.tar.bz2
Add bytearray checking to TclCheckEmptyString(), and then use
TclCheckEmptyString() in Tcl_AppendObjToObj and TclStringCat() to reduce string generation. jn: See discussion on mailing list "On the changing the sourcing of scripts to using strict profiles by default" for explanation why this commit is wrong, just as [e6fe76ae6b] and [4a7b807856] (which are similar commits, disguised as different ones).
Diffstat (limited to 'doc')
-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