summaryrefslogtreecommitdiffstats
path: root/generic/tclOOInt.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2019-11-15 20:11:10 (GMT)
committerdgp <dgp@users.sourceforge.net>2019-11-15 20:11:10 (GMT)
commitfc5da6d413b6981ebe7235f63d505f3290cc6c5c (patch)
tree83bafd6100aad31a41316ed1d27d88bd6452dc87 /generic/tclOOInt.h
parent521b33f6ec17381c19722e73043934c1dc81bea4 (diff)
parent12a22416413a587980cbb7d9c9bc361db5f3e419 (diff)
downloadtcl-fc5da6d413b6981ebe7235f63d505f3290cc6c5c.zip
tcl-fc5da6d413b6981ebe7235f63d505f3290cc6c5c.tar.gz
tcl-fc5da6d413b6981ebe7235f63d505f3290cc6c5c.tar.bz2
merge 8.6
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 b5b7d6c..ca984d0 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);