diff options
author | dgp <dgp@noemail.net> | 2010-07-02 22:31:50 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2010-07-02 22:31:50 (GMT) |
commit | b84642d16c7a070e25335fd6bad027a40921fe76 (patch) | |
tree | b09a2a9d65b9bd14cdb90a5bccf2c74399b458e8 /generic/tclIntDecls.h | |
parent | 8309fd566af9b69a30fab30535ce87340521cda6 (diff) | |
download | tcl-b84642d16c7a070e25335fd6bad027a40921fe76.zip tcl-b84642d16c7a070e25335fd6bad027a40921fe76.tar.gz tcl-b84642d16c7a070e25335fd6bad027a40921fe76.tar.bz2 |
* generic/tclInt.decs: Reverted to the original TIP 337 implementation
on what to do with the obsolete internal stub for
TclBackgroundException() (eliminate it!)
* generic/tclIntDecls.h: make genstubs
* generic/tclStubInit.c:
FossilOrigin-Name: ab93077c3d982878fc60d8d123b23a8d7ff0ac60
Diffstat (limited to 'generic/tclIntDecls.h')
-rw-r--r-- | generic/tclIntDecls.h | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/generic/tclIntDecls.h b/generic/tclIntDecls.h index 333e007..2ec3c63 100644 --- a/generic/tclIntDecls.h +++ b/generic/tclIntDecls.h @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclIntDecls.h,v 1.139 2010/07/02 20:48:55 nijtmans Exp $ + * RCS: @(#) $Id: tclIntDecls.h,v 1.140 2010/07/02 22:31:50 dgp Exp $ */ #ifndef _TCLINTDECLS @@ -984,11 +984,7 @@ EXTERN Var * TclVarHashCreateVar(TclVarHashTable *tablePtr, EXTERN void TclInitVarHashTable(TclVarHashTable *tablePtr, Namespace *nsPtr); #endif -#ifndef TclBackgroundException_TCL_DECLARED -#define TclBackgroundException_TCL_DECLARED -/* 236 */ -EXTERN void TclBackgroundException(Tcl_Interp *interp, int code); -#endif +/* Slot 236 is reserved */ #ifndef TclResetCancellation_TCL_DECLARED #define TclResetCancellation_TCL_DECLARED /* 237 */ @@ -1303,7 +1299,7 @@ typedef struct TclIntStubs { void (*tclGetSrcInfoForPc) (CmdFrame *contextPtr); /* 233 */ Var * (*tclVarHashCreateVar) (TclVarHashTable *tablePtr, const char *key, int *newPtr); /* 234 */ void (*tclInitVarHashTable) (TclVarHashTable *tablePtr, Namespace *nsPtr); /* 235 */ - void (*tclBackgroundException) (Tcl_Interp *interp, int code); /* 236 */ + void *reserved236; int (*tclResetCancellation) (Tcl_Interp *interp, int force); /* 237 */ int (*tclNRInterpProc) (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]); /* 238 */ int (*tclNRInterpProcCore) (Tcl_Interp *interp, Tcl_Obj *procNameObj, int skip, ProcErrorProc *errorProc); /* 239 */ @@ -1990,10 +1986,7 @@ extern const TclIntStubs *tclIntStubsPtr; #define TclInitVarHashTable \ (tclIntStubsPtr->tclInitVarHashTable) /* 235 */ #endif -#ifndef TclBackgroundException -#define TclBackgroundException \ - (tclIntStubsPtr->tclBackgroundException) /* 236 */ -#endif +/* Slot 236 is reserved */ #ifndef TclResetCancellation #define TclResetCancellation \ (tclIntStubsPtr->tclResetCancellation) /* 237 */ @@ -2050,9 +2043,4 @@ extern const TclIntStubs *tclIntStubsPtr; #undef TCL_STORAGE_CLASS #define TCL_STORAGE_CLASS DLLIMPORT -/* restore source compatibility for TIP #337 */ -#ifndef TclBackgroundException -# define TclBackgroundException Tcl_BackgroundException -#endif - #endif /* _TCLINTDECLS */ |