diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2010-03-04 23:42:52 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2010-03-04 23:42:52 (GMT) |
commit | 8a4b2ce65944b09d87fb02f51dc1ac2346ac9c72 (patch) | |
tree | 7df7890a99597754e9b18126fc1ce888486901de /generic/tclOOInt.h | |
parent | f9102947da376b595e386d9bc0e443bf45b39110 (diff) | |
download | tcl-8a4b2ce65944b09d87fb02f51dc1ac2346ac9c72.zip tcl-8a4b2ce65944b09d87fb02f51dc1ac2346ac9c72.tar.gz tcl-8a4b2ce65944b09d87fb02f51dc1ac2346ac9c72.tar.bz2 |
Fix [Bug 2962664] by forcing oo::object deletion on oo::class deletion.
Diffstat (limited to 'generic/tclOOInt.h')
-rw-r--r-- | generic/tclOOInt.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tclOOInt.h b/generic/tclOOInt.h index dc52638..2103dc0 100644 --- a/generic/tclOOInt.h +++ b/generic/tclOOInt.h @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclOOInt.h,v 1.15 2010/01/29 16:17:20 nijtmans Exp $ + * RCS: @(#) $Id: tclOOInt.h,v 1.16 2010/03/04 23:42:54 dkf Exp $ */ #ifndef TCL_OO_INTERNAL_H @@ -212,6 +212,10 @@ typedef struct Object { * instance of the class, and has had nothing * added that changes the dispatch chain (i.e. * no methods, mixins, or filters. */ +#define ROOT_CLASS 0x8000 /* Flag to say that this object is the root + * class of classes, and should be treated + * specially during teardown (and in a few + * other spots). */ /* * And the definition of a class. Note that every class also has an associated |