diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | generic/tclInt.decls | 9 | ||||
-rw-r--r-- | generic/tclInt.h | 4 | ||||
-rw-r--r-- | generic/tclIntDecls.h | 13 | ||||
-rw-r--r-- | generic/tclStubInit.c | 3 |
5 files changed, 29 insertions, 7 deletions
@@ -1,3 +1,10 @@ +2007-04-03 Miguel Sofer <msofer@users.sf.net> + + * generic/tclInt.decls: Moved TclGetNamespaceFromObj() to + * generic/tclInt.h: the internal stubs table; regen. + * generic/tclIntDecls.h: + * generic/tclStubInit.c: + 2007-04-02 Miguel Sofer <msofer@users.sf.net> * generic/tclBasic.c: Added bytecode compilers for the diff --git a/generic/tclInt.decls b/generic/tclInt.decls index 7cdba8d..a110ae0 100644 --- a/generic/tclInt.decls +++ b/generic/tclInt.decls @@ -12,7 +12,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.106 2007/02/20 23:24:04 nijtmans Exp $ +# RCS: @(#) $Id: tclInt.decls,v 1.107 2007/04/03 15:08:24 msofer Exp $ library tcl @@ -915,6 +915,11 @@ declare 230 generic { CONST int createPart1, CONST int createPart2, Var **arrayPtrPtr) } +declare 231 generic { + int TclGetNamespaceFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr, + Tcl_Namespace **nsPtrPtr) +} + ############################################################################## # Define the platform specific internal Tcl interface. These functions are @@ -1126,4 +1131,4 @@ declare 18 macosx { int TclMacOSXMatchType(Tcl_Interp *interp, CONST char *pathName, CONST char *fileName, Tcl_StatBuf *statBufPtr, Tcl_GlobTypeData *types) -}
\ No newline at end of file +} diff --git a/generic/tclInt.h b/generic/tclInt.h index 8450621..2e3b47f 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -12,7 +12,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.h,v 1.303 2007/04/03 01:34:37 msofer Exp $ + * RCS: @(#) $Id: tclInt.h,v 1.304 2007/04/03 15:08:24 msofer Exp $ */ #ifndef _TCLINT @@ -2259,8 +2259,6 @@ MODULE_SCOPE void TclFormatNaN(double value, char *buffer); MODULE_SCOPE int TclFSFileAttrIndex(Tcl_Obj *pathPtr, CONST char *attributeName, int *indexPtr); MODULE_SCOPE Tcl_Obj * TclGetBgErrorHandler(Tcl_Interp *interp); -MODULE_SCOPE int TclGetNamespaceFromObj(Tcl_Interp *interp, - Tcl_Obj *objPtr, Tcl_Namespace **nsPtrPtr); MODULE_SCOPE int TclGetNumberFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr, ClientData *clientDataPtr, int *typePtr); diff --git a/generic/tclIntDecls.h b/generic/tclIntDecls.h index 4adc112..134bc6e 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.97 2007/02/20 23:24:03 nijtmans Exp $ + * RCS: @(#) $Id: tclIntDecls.h,v 1.98 2007/04/03 15:08:24 msofer Exp $ */ #ifndef _TCLINTDECLS @@ -1022,6 +1022,12 @@ EXTERN Var * TclObjLookupVar (Tcl_Interp * interp, CONST int createPart1, CONST int createPart2, Var ** arrayPtrPtr); #endif +#ifndef TclGetNamespaceFromObj_TCL_DECLARED +#define TclGetNamespaceFromObj_TCL_DECLARED +/* 231 */ +EXTERN int TclGetNamespaceFromObj (Tcl_Interp * interp, + Tcl_Obj * objPtr, Tcl_Namespace ** nsPtrPtr); +#endif typedef struct TclIntStubs { int magic; @@ -1273,6 +1279,7 @@ typedef struct TclIntStubs { int (*tclObjInterpProcCore) (register Tcl_Interp * interp, CallFrame * framePtr, Tcl_Obj * procNameObj, int isLambda, int skip, ProcErrorProc errorProc); /* 228 */ 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 */ } TclIntStubs; #ifdef __cplusplus @@ -1982,6 +1989,10 @@ extern TclIntStubs *tclIntStubsPtr; #define TclObjLookupVar \ (tclIntStubsPtr->tclObjLookupVar) /* 230 */ #endif +#ifndef TclGetNamespaceFromObj +#define TclGetNamespaceFromObj \ + (tclIntStubsPtr->tclGetNamespaceFromObj) /* 231 */ +#endif #endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */ diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c index f06006d..9aff293 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.138 2006/12/01 14:31:20 dgp Exp $ + * RCS: @(#) $Id: tclStubInit.c,v 1.139 2007/04/03 15:08:24 msofer Exp $ */ #include "tclInt.h" @@ -322,6 +322,7 @@ TclIntStubs tclIntStubs = { TclObjInterpProcCore, /* 228 */ TclPtrMakeUpvar, /* 229 */ TclObjLookupVar, /* 230 */ + TclGetNamespaceFromObj, /* 231 */ }; TclIntPlatStubs tclIntPlatStubs = { |