summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/tcl.decls26
-rw-r--r--generic/tclAsync.c4
-rw-r--r--generic/tclInt.decls8
-rw-r--r--generic/tclIntPlatDecls.h17
-rw-r--r--generic/tclIntPlatStubs.c19
-rw-r--r--generic/tclStubInit.c4
6 files changed, 60 insertions, 18 deletions
diff --git a/generic/tcl.decls b/generic/tcl.decls
index 7ece3f8..d8e6941 100644
--- a/generic/tcl.decls
+++ b/generic/tcl.decls
@@ -10,7 +10,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: tcl.decls,v 1.5 1999/03/10 23:45:50 redman Exp $
+# RCS: @(#) $Id: tcl.decls,v 1.6 1999/03/11 00:19:23 stanton Exp $
library tcl
@@ -962,18 +962,18 @@ declare 279 generic {
Tcl_ReleaseType *type)
}
# Reserved for future use (8.0.x vs. 8.1)
-declare 280 generic {
-}
-declare 281 generic {
-}
-declare 282 generic {
-}
-declare 283 generic {
-}
-declare 284 generic {
-}
-declare 285 generic {
-}
+# declare 280 generic {
+# }
+# declare 281 generic {
+# }
+# declare 282 generic {
+# }
+# declare 283 generic {
+# }
+# declare 284 generic {
+# }
+# declare 285 generic {
+# }
##############################################################################
diff --git a/generic/tclAsync.c b/generic/tclAsync.c
index 67ccdbc..18af186 100644
--- a/generic/tclAsync.c
+++ b/generic/tclAsync.c
@@ -12,10 +12,11 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclAsync.c,v 1.2 1998/09/14 18:39:57 stanton Exp $
+ * RCS: @(#) $Id: tclAsync.c,v 1.3 1999/03/11 00:19:23 stanton Exp $
*/
#include "tclInt.h"
+#include "tclPort.h"
/*
* One of the following structures exists for each asynchronous
@@ -125,6 +126,7 @@ Tcl_AsyncMark(async)
{
((AsyncHandler *) async)->ready = 1;
if (!asyncActive) {
+ TclpAsyncMark(async);
asyncReady = 1;
}
}
diff --git a/generic/tclInt.decls b/generic/tclInt.decls
index e8a5e1f..29f755e 100644
--- a/generic/tclInt.decls
+++ b/generic/tclInt.decls
@@ -10,7 +10,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: tclInt.decls,v 1.3 1999/03/10 05:52:48 stanton Exp $
+# RCS: @(#) $Id: tclInt.decls,v 1.4 1999/03/11 00:19:23 stanton Exp $
library tcl
@@ -681,6 +681,12 @@ declare 18 win {
declare 19 win {
TclFile TclpOpenFile(char *fname, int mode)
}
+declare 20 win {
+ void TclWinAddProcess(HANDLE hProcess, DWORD id)
+}
+declare 21 win {
+ void TclpAsyncMark(Tcl_AsyncHandler async)
+}
#########################
# Unix specific internals
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
diff --git a/generic/tclIntPlatStubs.c b/generic/tclIntPlatStubs.c
index 43bc4e5..2821567 100644
--- a/generic/tclIntPlatStubs.c
+++ b/generic/tclIntPlatStubs.c
@@ -7,7 +7,7 @@
* Copyright (c) 1998-1999 by Scriptics Corporation.
* All rights reserved.
*
- * RCS: @(#) $Id: tclIntPlatStubs.c,v 1.3 1999/03/10 05:52:49 stanton Exp $
+ * RCS: @(#) $Id: tclIntPlatStubs.c,v 1.4 1999/03/11 00:19:23 stanton Exp $
*/
#include "tclInt.h"
@@ -301,6 +301,23 @@ TclpOpenFile(fname, mode)
return (tclIntPlatStubsPtr->tclpOpenFile)(fname, mode);
}
+/* Slot 20 */
+void
+TclWinAddProcess(hProcess, id)
+ HANDLE hProcess;
+ DWORD id;
+{
+ (tclIntPlatStubsPtr->tclWinAddProcess)(hProcess, id);
+}
+
+/* Slot 21 */
+void
+TclpAsyncMark(async)
+ Tcl_AsyncHandler async;
+{
+ (tclIntPlatStubsPtr->tclpAsyncMark)(async);
+}
+
#endif /* __WIN32__ */
#ifdef MAC_TCL
/* Slot 0 */
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c
index 521fe712..306da5e 100644
--- a/generic/tclStubInit.c
+++ b/generic/tclStubInit.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclStubInit.c,v 1.5 1999/03/10 23:45:51 redman Exp $
+ * RCS: @(#) $Id: tclStubInit.c,v 1.6 1999/03/11 00:19:23 stanton Exp $
*/
#include "tclInt.h"
@@ -532,6 +532,8 @@ TclIntPlatStubs tclIntPlatStubs = {
TclpGetTZName, /* 17 */
TclpMakeFile, /* 18 */
TclpOpenFile, /* 19 */
+ TclWinAddProcess, /* 20 */
+ TclpAsyncMark, /* 21 */
#endif /* __WIN32__ */
#ifdef MAC_TCL
TclpSysAlloc, /* 0 */