diff options
author | nijtmans <nijtmans@noemail.net> | 2009-01-06 21:58:14 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2009-01-06 21:58:14 (GMT) |
commit | a84319583f63c68abf88014822145d6ad0915631 (patch) | |
tree | 1a968bb5892ca2303852db486e841748082bebb9 /doc/ParseArgv.3 | |
parent | 8ea7f4852ca5cd06bb39e8b32286b89b81da7f66 (diff) | |
download | tk-a84319583f63c68abf88014822145d6ad0915631.zip tk-a84319583f63c68abf88014822145d6ad0915631.tar.gz tk-a84319583f63c68abf88014822145d6ad0915631.tar.bz2 |
A few const -> CONST86 modifications, improving
backwards compatibility. Change Tk_ItemIndexProc
and Tk_ItemInsertProc signature to have a Tcl_Obj parameter
in stead of a string parameter. This is binary
and source compatible with previous API, it just prevents
the need for a type cast in the Tk_ItemType table construction.
Bring doc in line with API.
FossilOrigin-Name: 88f4039ab41ab8aced179764fc4b283e2e45cc0f
Diffstat (limited to 'doc/ParseArgv.3')
-rw-r--r-- | doc/ParseArgv.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/ParseArgv.3 b/doc/ParseArgv.3 index b5db646..bf065ee 100644 --- a/doc/ParseArgv.3 +++ b/doc/ParseArgv.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: ParseArgv.3,v 1.11 2008/06/30 22:57:01 dkf Exp $ +'\" RCS: @(#) $Id: ParseArgv.3,v 1.12 2009/01/06 21:58:15 nijtmans Exp $ '\" .so man.macros .TH Tk_ParseArgv 3 "" Tk "Tk Library Procedures" @@ -72,11 +72,11 @@ The \fIargTable\fR array specifies the kinds of arguments that are expected; each of its entries has the following structure: .CS typedef struct { - char *\fIkey\fR; + const char *\fIkey\fR; int \fItype\fR; char *\fIsrc\fR; char *\fIdst\fR; - char *\fIhelp\fR; + const char *\fIhelp\fR; } \fBTk_ArgvInfo\fR; .CE The \fIkey\fR field is a string such as |