summaryrefslogtreecommitdiffstats
path: root/doc/Encoding.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/Encoding.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/Encoding.3')
-rw-r--r--doc/Encoding.36
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/Encoding.3 b/doc/Encoding.3
index 40eb614..3c654ba 100644
--- a/doc/Encoding.3
+++ b/doc/Encoding.3
@@ -308,7 +308,7 @@ typedef struct Tcl_EncodingType {
Tcl_EncodingConvertProc *\fItoUtfProc\fR;
Tcl_EncodingConvertProc *\fIfromUtfProc\fR;
Tcl_EncodingFreeProc *\fIfreeProc\fR;
- ClientData \fIclientData\fR;
+ void *\fIclientData\fR;
int \fInullSize\fR;
} \fBTcl_EncodingType\fR;
.CE
@@ -339,7 +339,7 @@ type \fBTcl_EncodingConvertProc\fR:
.PP
.CS
typedef int \fBTcl_EncodingConvertProc\fR(
- ClientData \fIclientData\fR,
+ void *\fIclientData\fR,
const char *\fIsrc\fR,
int \fIsrcLen\fR,
int \fIflags\fR,
@@ -371,7 +371,7 @@ The callback procedure \fIfreeProc\fR, if non-NULL, should match the type
.PP
.CS
typedef void \fBTcl_EncodingFreeProc\fR(
- ClientData \fIclientData\fR);
+ void *\fIclientData\fR);
.CE
.PP
This \fIfreeProc\fR function is called when the encoding is deleted. The