summaryrefslogtreecommitdiffstats
path: root/doc/CrtGenHdlr.3
diff options
context:
space:
mode:
Diffstat (limited to 'doc/CrtGenHdlr.3')
-rw-r--r--doc/CrtGenHdlr.34
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/CrtGenHdlr.3 b/doc/CrtGenHdlr.3
index 1d6f3d5..aaf3285 100644
--- a/doc/CrtGenHdlr.3
+++ b/doc/CrtGenHdlr.3
@@ -21,7 +21,7 @@ Tk_CreateGenericHandler, Tk_DeleteGenericHandler \- associate procedure callback
.AS "Tk_GenericProc" clientData
.AP Tk_GenericProc *proc in
Procedure to invoke whenever any X event occurs on any display.
-.AP ClientData clientData in
+.AP void *clientData in
Arbitrary one-word value to pass to \fIproc\fR.
.BE
.SH DESCRIPTION
@@ -45,7 +45,7 @@ call \fBTk_HandleEvent\fR, such as \fBTcl_DoOneEvent\fR or
type \fBTk_GenericProc\fR:
.CS
typedef int \fBTk_GenericProc\fR(
- ClientData \fIclientData\fR,
+ void *\fIclientData\fR,
XEvent *\fIeventPtr\fR);
.CE
The \fIclientData\fR parameter to \fIproc\fR is a copy of the \fIclientData\fR