[Zodb-checkins] CVS: Zope/lib/Components/ExtensionClass/src - ExtensionClass.h:1.16.140.2

Matthew T. Kromer matt@zope.com
Wed, 12 Dec 2001 13:00:39 -0500


Update of /cvs-repository/Zope/lib/Components/ExtensionClass/src
In directory cvs.zope.org:/tmp/cvs-serv717/lib/Components/ExtensionClass/src

Modified Files:
      Tag: matt-stability-branch
	ExtensionClass.h 
Log Message:
Align patch with cut & paste from object.h so no textual mismatch (not a
functional change, but aesthetic)


=== Zope/lib/Components/ExtensionClass/src/ExtensionClass.h 1.16.140.1 => 1.16.140.2 ===
 	getattrofunc tp_getattro;
 	setattrofunc tp_setattro;
-	/* Space for future expansion */
-	PyBufferProcs	*tp_as_buffer;
+
+	/* Functions to access object as input/output buffer */
+	PyBufferProcs *tp_as_buffer;
+
+	/* Flags to define presence of optional/expanded features */
 	long tp_flags;
 
 	char *tp_doc; /* Documentation string */
 
+	/* call function for all accessible objects */
 	traverseproc tp_traverse;
-	inquiry	     tp_clear;
-	richcmpfunc  tp_richcompare;
 
-	long tp_weakoffset;
+	/* delete references to contained objects */
+	inquiry tp_clear;
+
+        /* rich comparisons */
+        richcmpfunc tp_richcompare;
+
+	/* weak reference enabler */
+        long tp_weaklistoffset;
 
 #ifdef COUNT_ALLOCS
 	/* these must be last */