diff options
-rw-r--r-- | generic/tclDecls.h | 12 | ||||
-rw-r--r-- | generic/tclStubInit.c | 3 |
2 files changed, 13 insertions, 2 deletions
diff --git a/generic/tclDecls.h b/generic/tclDecls.h index bec1668..7e1c6fd 100644 --- a/generic/tclDecls.h +++ b/generic/tclDecls.h @@ -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: tclDecls.h,v 1.158 2008/12/05 14:28:10 dkf Exp $ + * RCS: @(#) $Id: tclDecls.h,v 1.159 2008/12/05 21:40:38 dkf Exp $ */ #ifndef _TCLDECLS @@ -3676,6 +3676,11 @@ EXTERN void Tcl_SetErrorLine (Tcl_Interp * interp, int value); EXTERN void Tcl_TransferResult (Tcl_Interp * sourceInterp, int result, Tcl_Interp * targetInterp); #endif +#ifndef Tcl_InterpActive_TCL_DECLARED +#define Tcl_InterpActive_TCL_DECLARED +/* 608 */ +EXTERN int Tcl_InterpActive (Tcl_Interp * interp); +#endif typedef struct TclStubHooks { const struct TclPlatStubs *tclPlatStubs; @@ -4343,6 +4348,7 @@ typedef struct TclStubs { int (*tcl_GetErrorLine) (Tcl_Interp * interp); /* 605 */ void (*tcl_SetErrorLine) (Tcl_Interp * interp, int value); /* 606 */ void (*tcl_TransferResult) (Tcl_Interp * sourceInterp, int result, Tcl_Interp * targetInterp); /* 607 */ + int (*tcl_InterpActive) (Tcl_Interp * interp); /* 608 */ } TclStubs; #if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) @@ -6847,6 +6853,10 @@ extern const TclStubs *tclStubsPtr; #define Tcl_TransferResult \ (tclStubsPtr->tcl_TransferResult) /* 607 */ #endif +#ifndef Tcl_InterpActive +#define Tcl_InterpActive \ + (tclStubsPtr->tcl_InterpActive) /* 608 */ +#endif #endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */ diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c index bb41803..6fdbc0d 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.169 2008/12/05 14:28:10 dkf Exp $ + * RCS: @(#) $Id: tclStubInit.c,v 1.170 2008/12/05 21:40:38 dkf Exp $ */ #include "tclInt.h" @@ -1133,6 +1133,7 @@ static const TclStubs tclStubs = { Tcl_GetErrorLine, /* 605 */ Tcl_SetErrorLine, /* 606 */ Tcl_TransferResult, /* 607 */ + Tcl_InterpActive, /* 608 */ }; /* !END!: Do not edit above this line. */ |