summaryrefslogtreecommitdiffstats
path: root/doc/SetOptions.3
diff options
context:
space:
mode:
authornijtmans <nijtmans>2007-01-05 00:00:47 (GMT)
committernijtmans <nijtmans>2007-01-05 00:00:47 (GMT)
commit67771314a2fb4326cc411f74011c1d47edd3bfa5 (patch)
treeef0668274bd47be5de7af3d70163084f9e530aa3 /doc/SetOptions.3
parentb89f2e9fa3ed933c2d1599be0cdc0f4616ae17c7 (diff)
downloadtk-67771314a2fb4326cc411f74011c1d47edd3bfa5.zip
tk-67771314a2fb4326cc411f74011c1d47edd3bfa5.tar.gz
tk-67771314a2fb4326cc411f74011c1d47edd3bfa5.tar.bz2
various "const" additions, in line with TIP #27
fix bug #1627732
Diffstat (limited to 'doc/SetOptions.3')
-rw-r--r--doc/SetOptions.316
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/SetOptions.3 b/doc/SetOptions.3
index e178a27..4e94bfc 100644
--- a/doc/SetOptions.3
+++ b/doc/SetOptions.3
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: SetOptions.3,v 1.12 2004/11/12 09:03:19 das Exp $
+'\" RCS: @(#) $Id: SetOptions.3,v 1.13 2007/01/05 00:00:49 nijtmans Exp $
'\"
.so man.macros
.TH Tk_SetOptions 3 8.1 Tk "Tk Library Procedures"
@@ -41,13 +41,13 @@ Tcl_Obj *
int
\fBTk_Offset(\fItype, field\fB)\fR
.SH ARGUMENTS
-.AS Tk_SavedOptions "*CONST objv[]" in/out
+.AS Tk_SavedOptions "*const objv[]" in/out
.AP Tcl_Interp *interp in
A Tcl interpreter. Most procedures use this only for returning error
messages; if it is NULL then no error messages are returned. For
\fBTk_CreateOptionTable\fR the value cannot be NULL; it gives the
interpreter in which the option table will be used.
-.AP Tk_OptionSpec *templatePtr in
+.AP "const Tk_OptionSpec" *templatePtr in
Points to an array of static information that describes the configuration
options that are supported. Used to build a Tk_OptionTable. The information
pointed to by this argument must exist for the lifetime of the Tk_OptionTable.
@@ -65,7 +65,7 @@ no window-dependent options, then a NULL value may be supplied for
this argument.
.AP int objc in
Number of values in \fIobjv\fR.
-.AP Tcl_Obj "*CONST objv[]" in
+.AP Tcl_Obj "*const objv[]" in
Command-line arguments for setting configuring options.
.AP Tk_SavedOptions *savePtr out
If not NULL, the structure pointed to by this argument is filled
@@ -253,10 +253,10 @@ one configuration option and has the following fields:
.CS
typedef struct {
Tk_OptionType \fItype\fR;
- char *\fIoptionName\fR;
- char *\fIdbName\fR;
- char *\fIdbClass\fR;
- char *\fIdefValue\fR;
+ const char *\fIoptionName\fR;
+ const char *\fIdbName\fR;
+ const char *\fIdbClass\fR;
+ const char *\fIdefValue\fR;
int \fIobjOffset\fR;
int \fIinternalOffset\fR;
int \fIflags\fR;