summaryrefslogtreecommitdiffstats
path: root/doc/Encoding.3
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-11-30 21:16:15 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-11-30 21:16:15 (GMT)
commit6c7ad3b1183f1a912bac6ba4fcdf0231749c359e (patch)
treeba15e242bf1e139c2ef100e97807276186c0fde8 /doc/Encoding.3
parenta7d6b92abf2f95c2c8478c3bd79ee9da76c6d717 (diff)
downloadtcl-6c7ad3b1183f1a912bac6ba4fcdf0231749c359e.zip
tcl-6c7ad3b1183f1a912bac6ba4fcdf0231749c359e.tar.gz
tcl-6c7ad3b1183f1a912bac6ba4fcdf0231749c359e.tar.bz2
Let Tcl_GetEncodingNulLength() return size_t on 9.0, for consisancy with other API's. No change on 8.7
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 43bb2b8..9b88c11 100644
--- a/doc/Encoding.3
+++ b/doc/Encoding.3
@@ -347,7 +347,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
@@ -378,7 +378,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,
@@ -410,7 +410,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