summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-25 15:18:31 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-25 15:18:31 (GMT)
commit8852e00049c50af24808ee5d609065b76f829fe9 (patch)
treef3fb37e8c2a879b86fd039ac5bbede190f3fcf94 /generic/tclInt.h
parent4344cbc87f1320189cc7d50b30c4a525b206a5a7 (diff)
downloadtcl-8852e00049c50af24808ee5d609065b76f829fe9.zip
tcl-8852e00049c50af24808ee5d609065b76f829fe9.tar.gz
tcl-8852e00049c50af24808ee5d609065b76f829fe9.tar.bz2
Deprecate 2 internal typedefs: TclCmdProcType/TclObjCmdProcType. Too little benefit to keep them
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 59106cd..294ff97 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -2644,8 +2644,10 @@ typedef Tcl_Channel (TclOpenFileChannelProc_)(Tcl_Interp *interp,
*----------------------------------------------------------------
*/
+#if !defined(TCL_NO_DEPRECATED) && TCL_MAJOR_VERSION < 9
typedef Tcl_CmdProc *TclCmdProcType;
typedef Tcl_ObjCmdProc *TclObjCmdProcType;
+#endif
/*
*----------------------------------------------------------------