diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2007-04-03 15:08:23 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2007-04-03 15:08:23 (GMT) |
commit | 89643dc38f1be355f6d47cff592dfc1bfd9ca2d2 (patch) | |
tree | 5a475a1ed47a0738e745f04f263832b9f2188f1c /generic/tclIntDecls.h | |
parent | 711464eba9249a177454befecc9f7f90e13887b8 (diff) | |
download | tcl-89643dc38f1be355f6d47cff592dfc1bfd9ca2d2.zip tcl-89643dc38f1be355f6d47cff592dfc1bfd9ca2d2.tar.gz tcl-89643dc38f1be355f6d47cff592dfc1bfd9ca2d2.tar.bz2 |
* generic/tclInt.decls: Moved TclGetNamespaceFromObj() to
* generic/tclInt.h: the internal stubs table; regen.
* generic/tclIntDecls.h:
* generic/tclStubInit.c:
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 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) */ |