diff options
author | redman <redman> | 1999-04-28 18:18:06 (GMT) |
---|---|---|
committer | redman <redman> | 1999-04-28 18:18:06 (GMT) |
commit | 078cc495bf6393b45f891a351a85f1c0e6aaba45 (patch) | |
tree | aace0c7be2665947b15b36259f712838915a9611 /generic/tkMain.c | |
parent | 33b9462f0016ef41b6c303739ad7f53bc697430f (diff) | |
download | tk-078cc495bf6393b45f891a351a85f1c0e6aaba45.zip tk-078cc495bf6393b45f891a351a85f1c0e6aaba45.tar.gz tk-078cc495bf6393b45f891a351a85f1c0e6aaba45.tar.bz2 |
Rename TkConsoleCreate_() to Tk_InitConsoleChannels() and make the
function public. Add an interp argument and init the Tcl stubs.
Rename TkConsoleInit() to Tk_CreateConsoleWindow()
Remove TkConsoleCreate() (no underbar)
Diffstat (limited to 'generic/tkMain.c')
-rw-r--r-- | generic/tkMain.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/generic/tkMain.c b/generic/tkMain.c index 9502926..ce33f8a 100644 --- a/generic/tkMain.c +++ b/generic/tkMain.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMain.c,v 1.4 1999/04/16 01:51:19 stanton Exp $ + * RCS: @(#) $Id: tkMain.c,v 1.5 1999/04/28 18:18:06 redman Exp $ */ #include <ctype.h> @@ -60,8 +60,6 @@ extern char * strrchr _ANSI_ARGS_((CONST char *string, int c)); extern void TkpDisplayWarning _ANSI_ARGS_((char *msg, char *title)); -extern void TkConsoleCreate_ _ANSI_ARGS_((void)); - /* * Forward declarations for procedures defined later in this file. */ @@ -125,7 +123,7 @@ Tk_MainEx(argc, argv, appInitProc, interp) tsdPtr->interp = interp; #if (defined(__WIN32__) || defined(MAC_TCL)) - TkConsoleCreate_(); + Tk_InitConsoleChannels(interp); #endif #ifdef TCL_MEM_DEBUG |