summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-11 10:20:51 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-11 10:20:51 (GMT)
commit72f5a0b42fd69b0ccad811c45ab2d2b265a67b63 (patch)
tree3e7f2b23f175d62e4445a0c3115392f4c3373781 /generic/tcl.h
parent745e45d119f01fc5f28b4b72df81d70669c67ce5 (diff)
downloadtcl-72f5a0b42fd69b0ccad811c45ab2d2b265a67b63.zip
tcl-72f5a0b42fd69b0ccad811c45ab2d2b265a67b63.tar.gz
tcl-72f5a0b42fd69b0ccad811c45ab2d2b265a67b63.tar.bz2
Put back dummy Tcl_DriverCloseProc/Tcl_DriverSeekProc (just defined as "void"). Needed to make Tk compile with C++ against 9.0 headers.
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 29f64bc..874f6e9 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -1240,12 +1240,14 @@ typedef void (Tcl_ScaleTimeProc) (Tcl_Time *timebuf, void *clientData);
*/
typedef int (Tcl_DriverBlockModeProc) (void *instanceData, int mode);
+typedef void Tcl_DriverCloseProc;
typedef int (Tcl_DriverClose2Proc) (void *instanceData,
Tcl_Interp *interp, int flags);
typedef int (Tcl_DriverInputProc) (void *instanceData, char *buf,
int toRead, int *errorCodePtr);
typedef int (Tcl_DriverOutputProc) (void *instanceData,
const char *buf, int toWrite, int *errorCodePtr);
+typedef void Tcl_DriverSeekProc;
typedef int (Tcl_DriverSetOptionProc) (void *instanceData,
Tcl_Interp *interp, const char *optionName,
const char *value);