summaryrefslogtreecommitdiffstats
path: root/doc/Notifier.3
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-07-10 19:18:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-07-10 19:18:17 (GMT)
commitec3c18e54e7411b1a18b2695fac6ce00069849b4 (patch)
treea1d6efb47f9187208e5cd4bf8f4a36bd9d4d1e9d /doc/Notifier.3
parent9a9c228341c0256a141aa964d570d563e177440c (diff)
downloadtcl-ec3c18e54e7411b1a18b2695fac6ce00069849b4.zip
tcl-ec3c18e54e7411b1a18b2695fac6ce00069849b4.tar.gz
tcl-ec3c18e54e7411b1a18b2695fac6ce00069849b4.tar.bz2
Remove 4 unneeded compatibility macro's, because those functions never return -1 anyway.
Change documentation to use void * in stead of ClientData
Diffstat (limited to 'doc/Notifier.3')
-rw-r--r--doc/Notifier.310
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/Notifier.3 b/doc/Notifier.3
index 16f9f8d..01795b8 100644
--- a/doc/Notifier.3
+++ b/doc/Notifier.3
@@ -38,7 +38,7 @@ Tcl_ThreadId
void
\fBTcl_DeleteEvents\fR(\fIdeleteProc, clientData\fR)
.sp
-ClientData
+void *
\fBTcl_InitNotifier\fR()
.sp
void
@@ -78,7 +78,7 @@ Procedure to invoke to prepare for event wait in \fBTcl_DoOneEvent\fR.
Procedure for \fBTcl_DoOneEvent\fR to invoke after waiting for
events. Checks to see if any events have occurred and, if so,
queues them.
-.AP ClientData clientData in
+.AP void *clientData in
Arbitrary one-word value to pass to \fIsetupProc\fR, \fIcheckProc\fR, or
\fIdeleteProc\fR.
.AP "const Tcl_Time" *timePtr in
@@ -230,7 +230,7 @@ the event source.
.PP
.CS
typedef void \fBTcl_EventSetupProc\fR(
- ClientData \fIclientData\fR,
+ void *\fIclientData\fR,
int \fIflags\fR);
.CE
.PP
@@ -308,7 +308,7 @@ following prototype:
.PP
.CS
typedef void \fBTcl_EventCheckProc\fR(
- ClientData \fIclientData\fR,
+ void *\fIclientData\fR,
int \fIflags\fR);
.CE
.PP
@@ -428,7 +428,7 @@ queue. \fIProc\fR should match the following prototype:
.CS
typedef int \fBTcl_EventDeleteProc\fR(
Tcl_Event *\fIevPtr\fR,
- ClientData \fIclientData\fR);
+ void *\fIclientData\fR);
.CE
.PP
The \fIclientData\fR argument will be the same as the \fIclientData\fR