summaryrefslogtreecommitdiffstats
path: root/mac/tkMacAppInit.c
diff options
context:
space:
mode:
authorredman <redman@noemail.net>1999-04-28 18:18:05 (GMT)
committerredman <redman@noemail.net>1999-04-28 18:18:05 (GMT)
commitcc715ea46c5a22b632b83e195436e9fcc3a00219 (patch)
treeaace0c7be2665947b15b36259f712838915a9611 /mac/tkMacAppInit.c
parentae737cc87bde3b565dd4c508f0f55fee4122c22e (diff)
downloadtk-cc715ea46c5a22b632b83e195436e9fcc3a00219.zip
tk-cc715ea46c5a22b632b83e195436e9fcc3a00219.tar.gz
tk-cc715ea46c5a22b632b83e195436e9fcc3a00219.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) FossilOrigin-Name: 702512c22952ed7a1cf3c17fa96c34452140d7c4
Diffstat (limited to 'mac/tkMacAppInit.c')
-rw-r--r--mac/tkMacAppInit.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/mac/tkMacAppInit.c b/mac/tkMacAppInit.c
index 16e83c0..43d3371 100644
--- a/mac/tkMacAppInit.c
+++ b/mac/tkMacAppInit.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: tkMacAppInit.c,v 1.8 1999/04/16 01:51:29 stanton Exp $
+ * RCS: @(#) $Id: tkMacAppInit.c,v 1.9 1999/04/28 18:18:07 redman Exp $
*/
#include <Gestalt.h>
@@ -54,8 +54,6 @@ short SIOUXHandleOneEvent _ANSI_ARGS_((EventRecord *event));
* Prototypes for functions from the tkConsole.c file.
*/
-EXTERN void TkConsoleCreate _ANSI_ARGS_((void));
-EXTERN int TkConsoleInit _ANSI_ARGS_((Tcl_Interp *interp));
EXTERN void TkConsolePrint _ANSI_ARGS_((Tcl_Interp *interp,
int devId, char *buffer, long size));
/*
@@ -311,7 +309,7 @@ SetupMainInterp(
if (strcmp(Tcl_GetVar(interp, "tcl_interactive", TCL_GLOBAL_ONLY), "1")
== 0) {
- if (TkConsoleInit(interp) == TCL_ERROR) {
+ if (Tk_CreateConsoleWindow(interp) == TCL_ERROR) {
goto error;
}
}