summaryrefslogtreecommitdiffstats
path: root/generic/tclIntPlatDecls.h
diff options
context:
space:
mode:
authorstanton <stanton>1999-03-11 00:19:23 (GMT)
committerstanton <stanton>1999-03-11 00:19:23 (GMT)
commit959ef2397770f8b6b7319b28c4cee7ef60ba6ac4 (patch)
tree5395cacc9a5253542d062dfcb57426a2721a541b /generic/tclIntPlatDecls.h
parent17d56fd5b956aa638c25faaac51a8856ee8f51d7 (diff)
downloadtcl-959ef2397770f8b6b7319b28c4cee7ef60ba6ac4.zip
tcl-959ef2397770f8b6b7319b28c4cee7ef60ba6ac4.tar.gz
tcl-959ef2397770f8b6b7319b28c4cee7ef60ba6ac4.tar.bz2
* win/tclWinPipe.c:
* generic/tclInt.decls: Added TclWinAddProcess to make it possible for expect to use Tcl_WaitForPid(). This patch is from Gordon Chaffee. * mac/tclMacPort.h: * win/tclWinInit.c: * unix/tclUnixPort.h: * generic/tclAsync.c: Added TclpAsyncMark to fix bug in async handling on Windows where async events don't wake up the event loop. This patch comes from Gordon Chaffee. * generic/tcl.decls: Fixed declarations of reserved slots.
Diffstat (limited to 'generic/tclIntPlatDecls.h')
-rw-r--r--generic/tclIntPlatDecls.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/generic/tclIntPlatDecls.h b/generic/tclIntPlatDecls.h
index 4e78459..bfb3cf7 100644
--- a/generic/tclIntPlatDecls.h
+++ b/generic/tclIntPlatDecls.h
@@ -9,7 +9,7 @@
* Copyright (c) 1998-1999 by Scriptics Corporation.
* All rights reserved.
*
- * RCS: @(#) $Id: tclIntPlatDecls.h,v 1.3 1999/03/10 05:52:48 stanton Exp $
+ * RCS: @(#) $Id: tclIntPlatDecls.h,v 1.4 1999/03/11 00:19:23 stanton Exp $
*/
#ifndef _TCLINTPLATDECLS
@@ -115,6 +115,11 @@ EXTERN TclFile TclpMakeFile _ANSI_ARGS_((Tcl_Channel channel,
int direction));
/* 19 */
EXTERN TclFile TclpOpenFile _ANSI_ARGS_((char * fname, int mode));
+/* 20 */
+EXTERN void TclWinAddProcess _ANSI_ARGS_((HANDLE hProcess,
+ DWORD id));
+/* 21 */
+EXTERN void TclpAsyncMark _ANSI_ARGS_((Tcl_AsyncHandler async));
#endif /* __WIN32__ */
#ifdef MAC_TCL
/* 0 */
@@ -222,6 +227,8 @@ typedef struct TclIntPlatStubs {
char * (*tclpGetTZName) _ANSI_ARGS_((void)); /* 17 */
TclFile (*tclpMakeFile) _ANSI_ARGS_((Tcl_Channel channel, int direction)); /* 18 */
TclFile (*tclpOpenFile) _ANSI_ARGS_((char * fname, int mode)); /* 19 */
+ void (*tclWinAddProcess) _ANSI_ARGS_((HANDLE hProcess, DWORD id)); /* 20 */
+ void (*tclpAsyncMark) _ANSI_ARGS_((Tcl_AsyncHandler async)); /* 21 */
#endif /* __WIN32__ */
#ifdef MAC_TCL
VOID * (*tclpSysAlloc) _ANSI_ARGS_((long size, int isBin)); /* 0 */
@@ -380,6 +387,14 @@ extern TclIntPlatStubs *tclIntPlatStubsPtr;
#define TclpOpenFile(fname, mode) \
(tclIntPlatStubsPtr->tclpOpenFile)(fname, mode) /* 19 */
#endif
+#ifndef TclWinAddProcess
+#define TclWinAddProcess(hProcess, id) \
+ (tclIntPlatStubsPtr->tclWinAddProcess)(hProcess, id) /* 20 */
+#endif
+#ifndef TclpAsyncMark
+#define TclpAsyncMark(async) \
+ (tclIntPlatStubsPtr->tclpAsyncMark)(async) /* 21 */
+#endif
#endif /* __WIN32__ */
#ifdef MAC_TCL
#ifndef TclpSysAlloc