diff options
author | davygrvy <davygrvy> | 2004-10-27 00:56:33 (GMT) |
---|---|---|
committer | davygrvy <davygrvy> | 2004-10-27 00:56:33 (GMT) |
commit | f068b3c8aa0a0bfed87b981e99a3b096aed995d5 (patch) | |
tree | 7584c0c682e4e97811f0996861722c6ad9401f04 /generic | |
parent | 8827901209d887d86a5625b7f71bcc5831110cf1 (diff) | |
download | tk-f068b3c8aa0a0bfed87b981e99a3b096aed995d5.zip tk-f068b3c8aa0a0bfed87b981e99a3b096aed995d5.tar.gz tk-f068b3c8aa0a0bfed87b981e99a3b096aed995d5.tar.bz2 |
* win/tkWinX.c: Signature for tkWinXCleanup needed to be
* generic/tkInt.decls: changed so it matches the Tcl_ExitProc
* generic/tkIntPlatDecls.h: typedef to avoid a bad-style cast.
* win/makefile.vc: Force TCL_LIBRARY envar when calling tclsh
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkInt.decls | 4 | ||||
-rw-r--r-- | generic/tkIntPlatDecls.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/generic/tkInt.decls b/generic/tkInt.decls index f88b670..eb37556 100644 --- a/generic/tkInt.decls +++ b/generic/tkInt.decls @@ -9,7 +9,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.decls,v 1.37 2004/09/21 19:13:56 mdejong Exp $ +# RCS: @(#) $Id: tkInt.decls,v 1.38 2004/10/27 00:56:33 davygrvy Exp $ library tk @@ -823,7 +823,7 @@ declare 27 win { } declare 28 win { - void TkWinXCleanup (HINSTANCE hInstance) + void TkWinXCleanup (ClientData clientData) } declare 29 win { diff --git a/generic/tkIntPlatDecls.h b/generic/tkIntPlatDecls.h index e83cf84..471eabd 100644 --- a/generic/tkIntPlatDecls.h +++ b/generic/tkIntPlatDecls.h @@ -9,7 +9,7 @@ * Copyright (c) 1998-1999 by Scriptics Corporation. * All rights reserved. * - * RCS: @(#) $Id: tkIntPlatDecls.h,v 1.18 2004/09/21 19:13:57 mdejong Exp $ + * RCS: @(#) $Id: tkIntPlatDecls.h,v 1.19 2004/10/27 00:56:33 davygrvy Exp $ */ #ifndef _TKINTPLATDECLS @@ -190,7 +190,7 @@ EXTERN void TkWinWmCleanup _ANSI_ARGS_((HINSTANCE hInstance)); #ifndef TkWinXCleanup_TCL_DECLARED #define TkWinXCleanup_TCL_DECLARED /* 28 */ -EXTERN void TkWinXCleanup _ANSI_ARGS_((HINSTANCE hInstance)); +EXTERN void TkWinXCleanup _ANSI_ARGS_((ClientData clientData)); #endif #ifndef TkWinXInit_TCL_DECLARED #define TkWinXInit_TCL_DECLARED @@ -603,7 +603,7 @@ typedef struct TkIntPlatStubs { void (*tkWinSetMenu) _ANSI_ARGS_((Tk_Window tkwin, HMENU hMenu)); /* 25 */ void (*tkWinSetWindowPos) _ANSI_ARGS_((HWND hwnd, HWND siblingHwnd, int pos)); /* 26 */ void (*tkWinWmCleanup) _ANSI_ARGS_((HINSTANCE hInstance)); /* 27 */ - void (*tkWinXCleanup) _ANSI_ARGS_((HINSTANCE hInstance)); /* 28 */ + void (*tkWinXCleanup) _ANSI_ARGS_((ClientData clientData)); /* 28 */ void (*tkWinXInit) _ANSI_ARGS_((HINSTANCE hInstance)); /* 29 */ void (*tkWinSetForegroundWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 30 */ void (*tkWinDialogDebug) _ANSI_ARGS_((int debug)); /* 31 */ |