diff options
author | dgp <dgp@users.sourceforge.net> | 2008-07-31 04:22:09 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2008-07-31 04:22:09 (GMT) |
commit | 41641da41bb777e1a9d3a347ce6e2847edf5fed2 (patch) | |
tree | 5caa7b36074dfc37a45a36e389bbb57282e1ab65 | |
parent | 43cb74c6499a1ccef5153e09b8cb15e5191f9746 (diff) | |
download | tk-41641da41bb777e1a9d3a347ce6e2847edf5fed2.zip tk-41641da41bb777e1a9d3a347ce6e2847edf5fed2.tar.gz tk-41641da41bb777e1a9d3a347ce6e2847edf5fed2.tar.bz2 |
* generic/tk.h: Added missing EXTERN for the Tcl_PkgInitStubsCheck
declaration to fix inability to embed non-stub-enabled Tk on Windows.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | generic/tk.h | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2008-07-31 Don Porter <dgp@users.sourceforge.net> + + * generic/tk.h: Added missing EXTERN for the Tcl_PkgInitStubsCheck + declaration to fix inability to embed non-stub-enabled Tk on Windows. + 2008-07-26 Pat Thoyts <patthoyts@users.sourceforge.net> * doc/options.n: Direct to the font manual for -font [Bug 1686012] diff --git a/generic/tk.h b/generic/tk.h index a4e8ca7..f9d734e 100644 --- a/generic/tk.h +++ b/generic/tk.h @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tk.h,v 1.112 2008/06/19 19:48:26 dgp Exp $ + * RCS: @(#) $Id: tk.h,v 1.113 2008/07/31 04:22:09 dgp Exp $ */ #ifndef _TK @@ -1486,7 +1486,7 @@ typedef struct Tk_ElementSpec { const char * Tk_InitStubs _ANSI_ARGS_((Tcl_Interp *interp, const char *version, int exact)); -const char * Tk_PkgInitStubsCheck _ANSI_ARGS_((Tcl_Interp *interp, +EXTERN const char * Tk_PkgInitStubsCheck _ANSI_ARGS_((Tcl_Interp *interp, const char *version, int exact)); #ifndef USE_TK_STUBS |