diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2008-10-15 10:43:37 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2008-10-15 10:43:37 (GMT) |
commit | 89b27a8118e809ac322a0200fbda93fd65b03d15 (patch) | |
tree | 76a9fcf427bd66b39f4124071860e59744540d77 /doc/CrtCommand.3 | |
parent | 9621a454a0bde1f84cef51026947815d4eb244b6 (diff) | |
download | tcl-89b27a8118e809ac322a0200fbda93fd65b03d15.zip tcl-89b27a8118e809ac322a0200fbda93fd65b03d15.tar.gz tcl-89b27a8118e809ac322a0200fbda93fd65b03d15.tar.bz2 |
Lots of very minor formatting fixes.
Diffstat (limited to 'doc/CrtCommand.3')
-rw-r--r-- | doc/CrtCommand.3 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/CrtCommand.3 b/doc/CrtCommand.3 index d9aab23..02081bf 100644 --- a/doc/CrtCommand.3 +++ b/doc/CrtCommand.3 @@ -5,7 +5,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: CrtCommand.3,v 1.15 2008/06/29 22:28:23 dkf Exp $ +'\" RCS: @(#) $Id: CrtCommand.3,v 1.16 2008/10/15 10:43:37 dkf Exp $ '\" .so man.macros .TH Tcl_CreateCommand 3 "" Tcl "Tcl Library Procedures" @@ -76,6 +76,7 @@ the process of being deleted, then it does not create a new command and it returns NULL. \fIProc\fR should have arguments and result that match the type \fBTcl_CmdProc\fR: +.PP .CS typedef int \fBTcl_CmdProc\fR( ClientData \fIclientData\fR, @@ -83,6 +84,7 @@ typedef int \fBTcl_CmdProc\fR( int \fIargc\fR, const char *\fIargv\fR[]); .CE +.PP When \fIproc\fR is invoked the \fIclientData\fR and \fIinterp\fR parameters will be copies of the \fIclientData\fR and \fIinterp\fR arguments given to \fBTcl_CreateCommand\fR. @@ -130,10 +132,12 @@ or by replacing \fIcmdName\fR in another call to \fBTcl_CreateCommand\fR. application an opportunity to release any structures associated with the command. \fIDeleteProc\fR should have arguments and result that match the type \fBTcl_CmdDeleteProc\fR: +.PP .CS typedef void \fBTcl_CmdDeleteProc\fR( ClientData \fIclientData\fR); .CE +.PP The \fIclientData\fR argument will be the same as the \fIclientData\fR argument passed to \fBTcl_CreateCommand\fR. .SH "SEE ALSO" |