diff options
author | davygrvy <davygrvy> | 2003-12-21 23:50:13 (GMT) |
---|---|---|
committer | davygrvy <davygrvy> | 2003-12-21 23:50:13 (GMT) |
commit | bd23cfcf8912fb898bef69b10cd34e3673d0af83 (patch) | |
tree | 0dd59c8ef95660d1afe7967786a7a4fd4f6bdedd /generic/tkInt.h | |
parent | 747881c8033dd9bcecd061f4c5d75f5bdc6097c5 (diff) | |
download | tk-bd23cfcf8912fb898bef69b10cd34e3673d0af83.zip tk-bd23cfcf8912fb898bef69b10cd34e3673d0af83.tar.gz tk-bd23cfcf8912fb898bef69b10cd34e3673d0af83.tar.bz2 |
* generic/tkEvent.c: Added three new functions: TkCreateExitHandler,
* generic/tkInt.h: TkDeleteExitHandler, and TkFinalize. This adds
* generic/tkMenu.c: an insertion point so Tk's exit handlers can be
* generic/tkWindow.c: called on their own from tk85.dll's DllMain
* mac/tkMacButton.c: for DLL_PROCESS_DETACH. These are private to
* unix/tkUnixEvent.c: the binary and not exported. It is possible
* win/tkWin32Dll.c: the Windows OS can unload Tk _prior_ to Tcl
* win/tkWinEmbed.c: under some conditions such as ExitProcess().
* win/tkWinMenu.c: This avoids a dangling pointer problem when Tcl
* win/tkWinX.c: does Tcl_Finalize after Tk has been unloaded.
* win/winMain.c: DllMain's DLL_PROCESS_DETACH now protected with
SEH as DeleteWindowsExitProc is causing an
exception of its own under some teardown
conditions. AT&T assembly syntax has not been
added for MinGW yet. [Tcl Patch 858493]
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r-- | generic/tkInt.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h index a90f2d6..635229a 100644 --- a/generic/tkInt.h +++ b/generic/tkInt.h @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: $Id: tkInt.h,v 1.60 2003/10/13 03:41:37 hobbs Exp $ + * RCS: $Id: tkInt.h,v 1.61 2003/12/21 23:50:13 davygrvy Exp $ */ #ifndef _TKINT @@ -1167,6 +1167,11 @@ EXTERN char * TkTilePrintProc _ANSI_ARGS_(( Tcl_FreeProc **freeProcPtr)); EXTERN XEvent * TkpGetBindingXEvent _ANSI_ARGS_(( Tcl_Interp *interp)); +EXTERN void TkCreateExitHandler _ANSI_ARGS_((Tcl_ExitProc *proc, + ClientData clientData)); +EXTERN void TkDeleteExitHandler _ANSI_ARGS_((Tcl_ExitProc *proc, + ClientData clientData)); +EXTERN Tcl_ExitProc TkFinalize; /* * Unsupported commands. |