summaryrefslogtreecommitdiffstats
path: root/doc/StringObj.3
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-04 15:15:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-04 15:15:17 (GMT)
commitefa3f20107fd11d11b28c05948305af61885a33d (patch)
tree1ea01a2eecb8cc011121396613f75965a000dff3 /doc/StringObj.3
parent654d14d706b3f2d084823945876a3df8f2de0abd (diff)
parentee793dfa1eadb249a50933784a47bacc5d63ca14 (diff)
downloadtcl-efa3f20107fd11d11b28c05948305af61885a33d.zip
tcl-efa3f20107fd11d11b28c05948305af61885a33d.tar.gz
tcl-efa3f20107fd11d11b28c05948305af61885a33d.tar.bz2
Merge 8.7. Use more TCL_INDEX_NONE in documentation/headers/code.
Diffstat (limited to 'doc/StringObj.3')
-rw-r--r--doc/StringObj.36
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/StringObj.3 b/doc/StringObj.3
index da1efb6..33c5c79 100644
--- a/doc/StringObj.3
+++ b/doc/StringObj.3
@@ -87,14 +87,14 @@ Tcl_Obj *
Points to the first byte of an array of UTF-8-encoded bytes
used to set or append to a string value.
This byte array may contain embedded null characters
-unless \fInumChars\fR is TCL_AUTO_LENGTH. (Applications needing null bytes
+unless \fInumChars\fR is TCL_INDEX_NONE. (Applications needing null bytes
should represent them as the two-byte sequence \fI\e300\e200\fR, use
\fBTcl_ExternalToUtf\fR to convert, or \fBTcl_NewByteArrayObj\fR if
the string is a collection of uninterpreted bytes.)
.AP size_t length in
The number of bytes to copy from \fIbytes\fR when
initializing, setting, or appending to a string value.
-If TCL_AUTO_LENGTH, all bytes up to the first null are used.
+If TCL_INDEX_NONE, all bytes up to the first null are used.
.AP "const Tcl_UniChar" *unicode in
Points to the first byte of an array of Unicode characters
used to set or append to a string value.
@@ -103,7 +103,7 @@ unless \fInumChars\fR is negative.
.AP size_t numChars in
The number of Unicode characters to copy from \fIunicode\fR when
initializing, setting, or appending to a string value.
-If TCL_AUTO_LENGTH, all characters up to the first null character are used.
+If TCL_INDEX_NONE, all characters up to the first null character are used.
.AP size_t index in
The index of the Unicode character to return.
.AP size_t first in