summaryrefslogtreecommitdiffstats
path: root/doc/DictObj.3
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-18 09:05:19 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-18 09:05:19 (GMT)
commit98d911931078d5c87ac0468c2a6f43d9c38918cc (patch)
tree3fbc89f1c7bc04bde31ebfd7c5e8766213bf06f5 /doc/DictObj.3
parenta857932d237705bc5fe2b7a0a7474726c32771ed (diff)
downloadtcl-98d911931078d5c87ac0468c2a6f43d9c38918cc.zip
tcl-98d911931078d5c87ac0468c2a6f43d9c38918cc.tar.gz
tcl-98d911931078d5c87ac0468c2a6f43d9c38918cc.tar.bz2
Improve doc: error-handling in Dict/List when > 2**31 elements
Diffstat (limited to 'doc/DictObj.3')
-rw-r--r--doc/DictObj.33
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/DictObj.3 b/doc/DictObj.3
index 73b0da8..ca9847c 100644
--- a/doc/DictObj.3
+++ b/doc/DictObj.3
@@ -138,7 +138,8 @@ converted to a dictionary.
\fBTcl_DictObjSize\fR updates the given variable with the number of
key/value pairs currently in the given dictionary. The result of this
procedure is \fBTCL_OK\fR, or \fBTCL_ERROR\fR if the \fIdictPtr\fR cannot be
-converted to a dictionary.
+converted to a dictionary or if \fIsizePtr\fR points to a variable of type
+\fBint\fR and the dict contains more than 2**31 key/value pairs.
.PP
\fBTcl_DictObjFirst\fR commences an iteration across all the key/value
pairs in the given dictionary, placing the key and value in the