summaryrefslogtreecommitdiffstats
path: root/doc/ParseArgs.3
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-26 14:56:02 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-26 14:56:02 (GMT)
commit15adceeead8ca31318befa55e31d2af69e34372c (patch)
tree7e7f2e79bd5f4ea313bb50d541baa1142ba8ddf6 /doc/ParseArgs.3
parentc383a86b3c7a099fd021ae9497b409658792b4d6 (diff)
downloadtcl-15adceeead8ca31318befa55e31d2af69e34372c.zip
tcl-15adceeead8ca31318befa55e31d2af69e34372c.tar.gz
tcl-15adceeead8ca31318befa55e31d2af69e34372c.tar.bz2
Add TclParseArgsObjv_
Diffstat (limited to 'doc/ParseArgs.3')
-rw-r--r--doc/ParseArgs.36
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/ParseArgs.3 b/doc/ParseArgs.3
index 02b52d4..ec5a29e 100644
--- a/doc/ParseArgs.3
+++ b/doc/ParseArgs.3
@@ -142,16 +142,16 @@ there are no following arguments at all, and the \fIdstPtr\fR argument to the
\fBTCL_ARGV_GENFUNC\fR
.
This argument takes zero or more following arguments; the handler callback
-function passed in \fIsrcPtr\fR returns how many (or a negative number to
+function passed in \fIsrcPtr\fR returns how many (or TCL_INDEX_NONE to
signal an error, in which case it should also set the interpreter result). The
function will have the following signature:
.RS
.PP
.CS
-typedef int (\fBTcl_ArgvGenFuncProc\fR)(
+typedef size_t (\fBTcl_ArgvGenFuncProc\fR)(
void *\fIclientData\fR,
Tcl_Interp *\fIinterp\fR,
- int \fIobjc\fR,
+ size_t \fIobjc\fR,
Tcl_Obj *const *\fIobjv\fR,
void *\fIdstPtr\fR);
.CE