diff options
-rw-r--r-- | generic/tclIntDecls.h | 24 | ||||
-rw-r--r-- | generic/tclStubInit.c | 4 |
2 files changed, 26 insertions, 2 deletions
diff --git a/generic/tclIntDecls.h b/generic/tclIntDecls.h index 134bc6e..f50e87f 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.98 2007/04/03 15:08:24 msofer Exp $ + * RCS: @(#) $Id: tclIntDecls.h,v 1.99 2007/05/05 23:36:36 dkf Exp $ */ #ifndef _TCLINTDECLS @@ -1028,6 +1028,18 @@ EXTERN Var * TclObjLookupVar (Tcl_Interp * interp, EXTERN int TclGetNamespaceFromObj (Tcl_Interp * interp, Tcl_Obj * objPtr, Tcl_Namespace ** nsPtrPtr); #endif +#ifndef TclEvalObjEx_TCL_DECLARED +#define TclEvalObjEx_TCL_DECLARED +/* 232 */ +EXTERN int TclEvalObjEx (Tcl_Interp * interp, Tcl_Obj * objPtr, + int flags, const CmdFrame * invoker, + int word); +#endif +#ifndef TclGetSrcInfoForPc_TCL_DECLARED +#define TclGetSrcInfoForPc_TCL_DECLARED +/* 233 */ +EXTERN void TclGetSrcInfoForPc (CmdFrame * contextPtr); +#endif typedef struct TclIntStubs { int magic; @@ -1280,6 +1292,8 @@ typedef struct TclIntStubs { int (*tclPtrMakeUpvar) (Tcl_Interp * interp, Var * otherP1Ptr, CONST char * myName, int myFlags, int index); /* 229 */ Var * (*tclObjLookupVar) (Tcl_Interp * interp, Tcl_Obj * part1Ptr, CONST char * part2, int flags, CONST char * msg, CONST int createPart1, CONST int createPart2, Var ** arrayPtrPtr); /* 230 */ int (*tclGetNamespaceFromObj) (Tcl_Interp * interp, Tcl_Obj * objPtr, Tcl_Namespace ** nsPtrPtr); /* 231 */ + int (*tclEvalObjEx) (Tcl_Interp * interp, Tcl_Obj * objPtr, int flags, const CmdFrame * invoker, int word); /* 232 */ + void (*tclGetSrcInfoForPc) (CmdFrame * contextPtr); /* 233 */ } TclIntStubs; #ifdef __cplusplus @@ -1993,6 +2007,14 @@ extern TclIntStubs *tclIntStubsPtr; #define TclGetNamespaceFromObj \ (tclIntStubsPtr->tclGetNamespaceFromObj) /* 231 */ #endif +#ifndef TclEvalObjEx +#define TclEvalObjEx \ + (tclIntStubsPtr->tclEvalObjEx) /* 232 */ +#endif +#ifndef TclGetSrcInfoForPc +#define TclGetSrcInfoForPc \ + (tclIntStubsPtr->tclGetSrcInfoForPc) /* 233 */ +#endif #endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */ diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c index 9aff293..361d7d7 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.139 2007/04/03 15:08:24 msofer Exp $ + * RCS: @(#) $Id: tclStubInit.c,v 1.140 2007/05/05 23:36:36 dkf Exp $ */ #include "tclInt.h" @@ -323,6 +323,8 @@ TclIntStubs tclIntStubs = { TclPtrMakeUpvar, /* 229 */ TclObjLookupVar, /* 230 */ TclGetNamespaceFromObj, /* 231 */ + TclEvalObjEx, /* 232 */ + TclGetSrcInfoForPc, /* 233 */ }; TclIntPlatStubs tclIntPlatStubs = { |