diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-10-01 12:45:17 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-10-01 12:45:17 (GMT) |
commit | a4f55f2e8217331b1246d87b5244116fbe7be28b (patch) | |
tree | b1e8471c56791d7d6064499e823653970b1550a6 /generic/tclIntDecls.h | |
parent | 659cfd43ab1e3669896b987ce4d501df9e9b80cc (diff) | |
download | tcl-a4f55f2e8217331b1246d87b5244116fbe7be28b.zip tcl-a4f55f2e8217331b1246d87b5244116fbe7be28b.tar.gz tcl-a4f55f2e8217331b1246d87b5244116fbe7be28b.tar.bz2 |
Speed up [upvar] and [uplevel] by not forcing level references to be parsed
as strings every time through. [Patch 1037357]
Diffstat (limited to 'generic/tclIntDecls.h')
-rw-r--r-- | generic/tclIntDecls.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/generic/tclIntDecls.h b/generic/tclIntDecls.h index 6979c88..e620e94 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.69 2004/09/27 16:24:24 dgp Exp $ + * RCS: @(#) $Id: tclIntDecls.h,v 1.70 2004/10/01 12:45:19 dkf Exp $ */ #ifndef _TCLINTDECLS @@ -1013,6 +1013,12 @@ EXTERN void TclFinalizeThreadStorageDataKey _ANSI_ARGS_(( EXTERN int TclCompEvalObj _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * objPtr)); #endif +#ifndef TclObjGetFrame_TCL_DECLARED +#define TclObjGetFrame_TCL_DECLARED +/* 198 */ +EXTERN int TclObjGetFrame _ANSI_ARGS_((Tcl_Interp * interp, + Tcl_Obj * objPtr, CallFrame ** framePtrPtr)); +#endif typedef struct TclIntStubs { int magic; @@ -1231,6 +1237,7 @@ typedef struct TclIntStubs { void (*tclFinalizeThreadStorageData) _ANSI_ARGS_((Tcl_ThreadDataKey * keyPtr)); /* 195 */ void (*tclFinalizeThreadStorageDataKey) _ANSI_ARGS_((Tcl_ThreadDataKey * keyPtr)); /* 196 */ int (*tclCompEvalObj) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * objPtr)); /* 197 */ + int (*tclObjGetFrame) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * objPtr, CallFrame ** framePtrPtr)); /* 198 */ } TclIntStubs; #ifdef __cplusplus @@ -1910,6 +1917,10 @@ extern TclIntStubs *tclIntStubsPtr; #define TclCompEvalObj \ (tclIntStubsPtr->tclCompEvalObj) /* 197 */ #endif +#ifndef TclObjGetFrame +#define TclObjGetFrame \ + (tclIntStubsPtr->tclObjGetFrame) /* 198 */ +#endif #endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */ |