diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-01-24 15:41:17 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-01-24 15:41:17 (GMT) |
commit | af3e9b9825f98a98907966cdd71286c1f00c8bcf (patch) | |
tree | 4ea37f2851d9160186337d477657e574c98aaaa8 /doc | |
parent | 7abf5f25f8b301a047f65edabce800c92dd55d22 (diff) | |
parent | 831e85b8f62b86995c4a439cccf5ecdc8425cea6 (diff) | |
download | tcl-af3e9b9825f98a98907966cdd71286c1f00c8bcf.zip tcl-af3e9b9825f98a98907966cdd71286c1f00c8bcf.tar.gz tcl-af3e9b9825f98a98907966cdd71286c1f00c8bcf.tar.bz2 |
Merge 8.7
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ListObj.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/ListObj.3 b/doc/ListObj.3 index 67721c9..c5c1dc7 100644 --- a/doc/ListObj.3 +++ b/doc/ListObj.3 @@ -28,7 +28,7 @@ int \fBTcl_ListObjGetElements\fR(\fIinterp, listPtr, objcPtr, objvPtr\fR) .sp int -\fBTcl_ListObjLength\fR(\fIinterp, listPtr, intPtr\fR) +\fBTcl_ListObjLength\fR(\fIinterp, listPtr, lengthPtr\fR) .sp int \fBTcl_ListObjIndex\fR(\fIinterp, listPtr, index, objPtrPtr\fR) @@ -76,7 +76,7 @@ An array of pointers to values. \fBTcl_NewListObj\fR will insert these values into a new list value and \fBTcl_ListObjReplace\fR will insert them into an existing \fIlistPtr\fR. Each value will become a separate list element. -.AP int *intPtr out +.AP int *lengthPtr out Points to location where \fBTcl_ListObjLength\fR stores the length of the list. .AP int index in @@ -162,7 +162,7 @@ Otherwise it returns \fBTCL_OK\fR after storing the count and array pointer. .PP \fBTcl_ListObjLength\fR returns the number of elements in the list value referenced by \fIlistPtr\fR. -It returns this count by storing an integer in the address \fIintPtr\fR. +It returns this count by storing an integer in the address \fIlengthPtr\fR. If the value is not already a list value, \fBTcl_ListObjLength\fR will attempt to convert it to one; if the conversion fails, it returns \fBTCL_ERROR\fR |