summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-04-24 13:31:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-04-24 13:31:53 (GMT)
commitadb2d1d9399a44ba950ed6f2c064c1509dffde87 (patch)
treefc91d4afeccb236ccab7243a2897a0e82cecf6c9 /doc
parentda116b95a31241dc3abb6eed7d8f8eb3a9487232 (diff)
parentf0b58b55b62e4dea5694b49b1bd846839cbef1f3 (diff)
downloadtcl-adb2d1d9399a44ba950ed6f2c064c1509dffde87.zip
tcl-adb2d1d9399a44ba950ed6f2c064c1509dffde87.tar.gz
tcl-adb2d1d9399a44ba950ed6f2c064c1509dffde87.tar.bz2
Merge 8.6
Diffstat (limited to 'doc')
-rw-r--r--doc/ListObj.34
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/ListObj.3 b/doc/ListObj.3
index dc1ba53..ab836d8 100644
--- a/doc/ListObj.3
+++ b/doc/ListObj.3
@@ -138,7 +138,9 @@ create a new value or modify an existing value to hold
the \fIobjc\fR elements of the array referenced by \fIobjv\fR
where each element is a pointer to a Tcl value.
If \fIobjc\fR is less than or equal to zero,
-they return an empty value.
+they return an empty value. If \fIobjv\fR is NULL, the resulting list
+contains 0 elements, with reserved space in an internal representation
+for \fIobjc\fR more elements (to avoid its reallocation later).
The new value's string representation is left invalid.
The two procedures increment the reference counts
of the elements in \fIobjc\fR since the list value now refers to them.