summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-11-08 10:19:09 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-11-08 10:19:09 (GMT)
commit5a18f3341176bbf31f4d49e29fbb08fecc10323b (patch)
tree6532cbf47849c0aa4905b7dc23070f7245846325 /doc
parentf335c2dceae3f6af43665adf584e19ffa7d88e5f (diff)
downloadtcl-5a18f3341176bbf31f4d49e29fbb08fecc10323b.zip
tcl-5a18f3341176bbf31f4d49e29fbb08fecc10323b.tar.gz
tcl-5a18f3341176bbf31f4d49e29fbb08fecc10323b.tar.bz2
Doc fix for Tcl_GetIntForIndex()
Diffstat (limited to 'doc')
-rw-r--r--doc/IntObj.36
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/IntObj.3 b/doc/IntObj.3
index d640dbb..703f2ce 100644
--- a/doc/IntObj.3
+++ b/doc/IntObj.3
@@ -32,7 +32,7 @@ int
\fBTcl_GetIntFromObj\fR(\fIinterp, objPtr, intPtr\fR)
.sp
int
-\fBTcl_GetIntForIndex\fR(\fIinterp, objPtr, endValue, intPtr\fR)
+\fBTcl_GetIntForIndex\fR(\fIinterp, objPtr, endValue, indexPtr\fR)
.sp
int
\fBTcl_GetLongFromObj\fR(\fIinterp, objPtr, longPtr\fR)
@@ -58,7 +58,7 @@ int
\fBTcl_InitBignumFromDouble\fR(\fIinterp, doubleValue, bigValue\fR)
.SH ARGUMENTS
.AS Tcl_WideInt doubleValue in/out
-.AP int endValue in
+.AP size_t endValue in
\fBTcl_GetIntForIndex\fR will return this when the input value is "end".
.AP int intValue in
Integer value used to initialize or set a Tcl value.
@@ -80,6 +80,8 @@ retrieval fails.
Points to place to store the integer value retrieved from \fIobjPtr\fR.
.AP long *longPtr out
Points to place to store the long integer value retrieved from \fIobjPtr\fR.
+.AP size_t *indexPtr out
+Points to place to store the size_t value retrieved from \fIobjPtr\fR.
.AP Tcl_WideInt *widePtr out
Points to place to store the wide integer value retrieved from \fIobjPtr\fR.
.AP mp_int *bigValue in/out