summaryrefslogtreecommitdiffstats
path: root/doc/SetOptions.3
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-10-16 19:40:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-10-16 19:40:17 (GMT)
commit9dd1ecf775ca98d0b14666163def8d3571c4e71c (patch)
tree8866e3133f28abc632a3bf6833bceef8dd1bda25 /doc/SetOptions.3
parentff5fec869e2ab1a3ff81745d9ae24f66e90e96fb (diff)
downloadtk-9dd1ecf775ca98d0b14666163def8d3571c4e71c.zip
tk-9dd1ecf775ca98d0b14666163def8d3571c4e71c.tar.gz
tk-9dd1ecf775ca98d0b14666163def8d3571c4e71c.tar.bz2
Change char *recordPtr to void *recordPtr in Tk_SetOptions() and friends. This is 100% upwards compatible, and equivalent to TIP #494 done in Tcl. With this, a ton of (char *) type casts can be eliminated
Diffstat (limited to 'doc/SetOptions.3')
-rw-r--r--doc/SetOptions.32
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/SetOptions.3 b/doc/SetOptions.3
index 581b1e6..4323f95 100644
--- a/doc/SetOptions.3
+++ b/doc/SetOptions.3
@@ -52,7 +52,7 @@ pointed to by this argument must exist for the lifetime of the Tk_OptionTable.
.AP Tk_OptionTable optionTable in
Token for an option table. Must have been returned by a previous call
to \fBTk_CreateOptionTable\fR.
-.AP char *recordPtr in/out
+.AP void *recordPtr in/out
Points to structure in which values of configuration options are stored;
fields of this record are modified by procedures such as \fBTk_SetOptions\fR
and read by procedures such as \fBTk_GetOptionValue\fR.