diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-04-04 21:07:50 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-04-04 21:07:50 (GMT) |
commit | eb046e78c4ad8280ccf115de1889f60249b8dc8b (patch) | |
tree | ad2b7f6658f55e83f7eb84c5b49033af9f4d7821 /doc/ParseArgs.3 | |
parent | 33e5497461ca8dfddc6aebcf7fcca7b561ac66b5 (diff) | |
parent | 539d2ff95a9c0307017feb87f2e33c0f9b18bd12 (diff) | |
download | tcl-eb046e78c4ad8280ccf115de1889f60249b8dc8b.zip tcl-eb046e78c4ad8280ccf115de1889f60249b8dc8b.tar.gz tcl-eb046e78c4ad8280ccf115de1889f60249b8dc8b.tar.bz2 |
Fix [7cb7409e05]: Tcl_ParseArgsObjv bug with TCL_ARGV_GENFUNC. With testcase
Diffstat (limited to 'doc/ParseArgs.3')
-rw-r--r-- | doc/ParseArgs.3 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/ParseArgs.3 b/doc/ParseArgs.3 index edc0bc0..594f4f1 100644 --- a/doc/ParseArgs.3 +++ b/doc/ParseArgs.3 @@ -138,19 +138,19 @@ function will have the following signature: .RS .PP .CS -typedef int (\fBTcl_ArgvGenFuncProc\fR)( +typedef Tcl_Size (\fBTcl_ArgvGenFuncProc\fR)( void *\fIclientData\fR, Tcl_Interp *\fIinterp\fR, - int \fIobjc\fR, + Tcl_Size \fIobjc\fR, Tcl_Obj *const *\fIobjv\fR, void *\fIdstPtr\fR); .CE .PP -The \fIclientData\fR is the value from the table entry, the \fIinterp\fR is -where to store any error messages, the \fIkeyStr\fR is the name of the -argument, \fIobjc\fR and \fIobjv\fR describe an array of all the remaining -arguments, and \fIdstPtr\fR argument to the \fBTcl_ArgvGenFuncProc\fR is the -location to write the parsed value (or values) to. +The \fIclientData\fR is the value from the table entry, the \fIinterp\fR +is where to store any error messages, \fIobjc\fR and \fIobjv\fR describe +an array of all the remaining arguments, and \fIdstPtr\fR argument to the +\fBTcl_ArgvGenFuncProc\fR is the location to write the parsed value +(or values) to. .RE .IP \fBTCL_ARGV_HELP\fR This special argument does not take any following value argument, but instead |