summaryrefslogtreecommitdiffstats
path: root/generic/tkDecls.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-11-03 16:23:24 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-11-03 16:23:24 (GMT)
commitbf6376a2e045cc8245b54c5ea9ef563c3cfb3bf4 (patch)
treeb3f6843fc8a7d2b7021c490eea1dd6e4b319cd02 /generic/tkDecls.h
parent95dbb93bae43e8f652c32783dcb9908791c05c1e (diff)
downloadtk-bf6376a2e045cc8245b54c5ea9ef563c3cfb3bf4.zip
tk-bf6376a2e045cc8245b54c5ea9ef563c3cfb3bf4.tar.gz
tk-bf6376a2e045cc8245b54c5ea9ef563c3cfb3bf4.tar.bz2
Deprecate Tk_MainEx() stub entry (TIP #512). Only has effect if compiled with TK_NO_DEPRECATED=1
Diffstat (limited to 'generic/tkDecls.h')
-rw-r--r--generic/tkDecls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkDecls.h b/generic/tkDecls.h
index eb3af95..0d52f2f 100644
--- a/generic/tkDecls.h
+++ b/generic/tkDecls.h
@@ -1102,7 +1102,7 @@ typedef struct TkStubs {
int (*tk_GetReliefFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr, int *resultPtr); /* 209 */
int (*tk_GetScrollInfoObj) (Tcl_Interp *interp, int objc, Tcl_Obj *const objv[], double *dblPtr, int *intPtr); /* 210 */
int (*tk_InitOptions) (Tcl_Interp *interp, void *recordPtr, Tk_OptionTable optionToken, Tk_Window tkwin); /* 211 */
- void (*tk_MainEx) (int argc, char **argv, Tcl_AppInitProc *appInitProc, Tcl_Interp *interp); /* 212 */
+ TCL_DEPRECATED_API("Don't use this function in a stub-enabled extension") void (*tk_MainEx) (int argc, char **argv, Tcl_AppInitProc *appInitProc, Tcl_Interp *interp); /* 212 */
void (*tk_RestoreSavedOptions) (Tk_SavedOptions *savePtr); /* 213 */
int (*tk_SetOptions) (Tcl_Interp *interp, void *recordPtr, Tk_OptionTable optionTable, int objc, Tcl_Obj *const objv[], Tk_Window tkwin, Tk_SavedOptions *savePtr, int *maskPtr); /* 214 */
void (*tk_InitConsoleChannels) (Tcl_Interp *interp); /* 215 */