summaryrefslogtreecommitdiffstats
path: root/generic/tclIntDecls.h
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2006-09-30 19:00:11 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2006-09-30 19:00:11 (GMT)
commit25eaf268205e1fd47ec88e2323b0c8806f1b617a (patch)
tree57fe07a36dd760af3a032e5be075bc392479e90c /generic/tclIntDecls.h
parent7d238aee5a63e4f16bafa9863ec090f904e66df2 (diff)
downloadtcl-25eaf268205e1fd47ec88e2323b0c8806f1b617a.zip
tcl-25eaf268205e1fd47ec88e2323b0c8806f1b617a.tar.gz
tcl-25eaf268205e1fd47ec88e2323b0c8806f1b617a.tar.bz2
* generic/tclInt.decls:
* generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclObj.c: * generic/tclStubInit.c: added an internal function TclObjBeingDeleted to provide info as to the reason for the loss of an internal rep. [FR 1512138]
Diffstat (limited to 'generic/tclIntDecls.h')
-rw-r--r--generic/tclIntDecls.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/generic/tclIntDecls.h b/generic/tclIntDecls.h
index 1912451..f9ec7a7 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.87 2006/06/21 03:10:39 dgp Exp $
+ * RCS: @(#) $Id: tclIntDecls.h,v 1.88 2006/09/30 19:00:13 msofer Exp $
*/
#ifndef _TCLINTDECLS
@@ -1020,6 +1020,11 @@ EXTERN Tcl_Obj * TclTraceDictPath _ANSI_ARGS_((Tcl_Interp * interp,
Tcl_Obj * rootPtr, int keyc,
Tcl_Obj *CONST keyv[], int flags));
#endif
+#ifndef TclObjBeingDeleted_TCL_DECLARED
+#define TclObjBeingDeleted_TCL_DECLARED
+/* 226 */
+EXTERN int TclObjBeingDeleted _ANSI_ARGS_((Tcl_Obj * objPtr));
+#endif
typedef struct TclIntStubs {
int magic;
@@ -1266,6 +1271,7 @@ typedef struct TclIntStubs {
void *reserved223;
TclPlatformType * (*tclGetPlatform) _ANSI_ARGS_((void)); /* 224 */
Tcl_Obj * (*tclTraceDictPath) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * rootPtr, int keyc, Tcl_Obj *CONST keyv[], int flags)); /* 225 */
+ int (*tclObjBeingDeleted) _ANSI_ARGS_((Tcl_Obj * objPtr)); /* 226 */
} TclIntStubs;
#ifdef __cplusplus
@@ -1955,6 +1961,10 @@ extern TclIntStubs *tclIntStubsPtr;
#define TclTraceDictPath \
(tclIntStubsPtr->tclTraceDictPath) /* 225 */
#endif
+#ifndef TclObjBeingDeleted
+#define TclObjBeingDeleted \
+ (tclIntStubsPtr->tclObjBeingDeleted) /* 226 */
+#endif
#endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */