summaryrefslogtreecommitdiffstats
path: root/generic/tclOOInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-03 16:12:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-03 16:12:14 (GMT)
commitd8fd9552b555513cd62d8be2ae422a92c7be9d0e (patch)
treef98fdd0861795e17610ebd5020f3e7b4c4f30980 /generic/tclOOInt.h
parentd33f396b9985896f717cbfa81422b28ac486eadd (diff)
parent28d5df364efed067ead97734d5e619615bfd8cde (diff)
downloadtcl-d8fd9552b555513cd62d8be2ae422a92c7be9d0e.zip
tcl-d8fd9552b555513cd62d8be2ae422a92c7be9d0e.tar.gz
tcl-d8fd9552b555513cd62d8be2ae422a92c7be9d0e.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclOOInt.h')
-rw-r--r--generic/tclOOInt.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/generic/tclOOInt.h b/generic/tclOOInt.h
index 635869e..db4b7f1 100644
--- a/generic/tclOOInt.h
+++ b/generic/tclOOInt.h
@@ -213,14 +213,11 @@ typedef struct Object {
* command. */
} Object;
-#define OBJECT_DELETED 1 /* Flag to say that an object has been
- * destroyed. */
-#define DESTRUCTOR_CALLED 2 /* Flag to say that the destructor has been
- * called. */
-#define CLASS_GONE 4 /* Obsolete. Indicates that the class of this
- * object has been deleted, and so the object
- * should not attempt to remove itself from its
- * class. */
+#define OBJECT_DESTRUCTING 1 /* Indicates that an object is being or has
+ * been destroyed */
+#define DESTRUCTOR_CALLED 2 /* Indicates that evaluation of destructor script for the
+ object has began */
+#define OO_UNUSED_4 4 /* No longer used. */
#define ROOT_OBJECT 0x1000 /* Flag to say that this object is the root of
* the class hierarchy and should be treated
* specially during teardown. */
@@ -563,6 +560,7 @@ MODULE_SCOPE Object * TclNewObjectInstanceCommon(Tcl_Interp *interp,
const char *nameStr,
const char *nsNameStr);
MODULE_SCOPE int TclOODecrRefCount(Object *oPtr);
+MODULE_SCOPE int TclOOObjectDestroyed(Object *oPtr);
MODULE_SCOPE int TclOODefineSlots(Foundation *fPtr);
MODULE_SCOPE void TclOODeleteChain(CallChain *callPtr);
MODULE_SCOPE void TclOODeleteChainCache(Tcl_HashTable *tablePtr);