summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorredman <redman>1999-04-28 18:18:06 (GMT)
committerredman <redman>1999-04-28 18:18:06 (GMT)
commit078cc495bf6393b45f891a351a85f1c0e6aaba45 (patch)
treeaace0c7be2665947b15b36259f712838915a9611 /win
parent33b9462f0016ef41b6c303739ad7f53bc697430f (diff)
downloadtk-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 'win')
-rw-r--r--win/winMain.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/win/winMain.c b/win/winMain.c
index 79f8f96..54cda5f 100644
--- a/win/winMain.c
+++ b/win/winMain.c
@@ -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: winMain.c,v 1.6 1999/04/16 01:51:55 stanton Exp $
+ * RCS: @(#) $Id: winMain.c,v 1.7 1999/04/28 18:18:07 redman Exp $
*/
#include <tk.h>
@@ -95,7 +95,7 @@ WinMain(hInstance, hPrevInstance, lpszCmdLine, nCmdShow)
/*
* Create the console channels and install them as the standard
- * channels. All I/O will be discarded until TkConsoleInit is
+ * channels. All I/O will be discarded until Tk_CreateConsoleWindow is
* called to attach the console to a text widget.
*/
@@ -143,7 +143,7 @@ Tcl_AppInit(interp)
*/
if (consoleRequired) {
- if (TkConsoleInit(interp) == TCL_ERROR) {
+ if (Tk_CreateConsoleWindow(interp) == TCL_ERROR) {
goto error;
}
}
@@ -366,7 +366,7 @@ int main(int argc, char **argv)
/*
* Create the console channels and install them as the standard
- * channels. All I/O will be discarded until TkConsoleInit is
+ * channels. All I/O will be discarded until Tk_CreateConsoleWindow is
* called to attach the console to a text widget.
*/