diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-11-03 16:23:24 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-11-03 16:23:24 (GMT) |
commit | bf6376a2e045cc8245b54c5ea9ef563c3cfb3bf4 (patch) | |
tree | b3f6843fc8a7d2b7021c490eea1dd6e4b319cd02 /generic/tkDecls.h | |
parent | 95dbb93bae43e8f652c32783dcb9908791c05c1e (diff) | |
download | tk-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.h | 2 |
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 */ |