[Zodb-checkins] CVS: Zope3/lib/python/Persistence/BTrees - BTreeModuleTemplate.c:1.1.2.9

Jeremy Hylton jeremy@zope.com
Tue, 4 Jun 2002 11:43:15 -0400


Update of /cvs-repository/Zope3/lib/python/Persistence/BTrees
In directory cvs.zope.org:/tmp/cvs-serv18778/BTrees

Modified Files:
      Tag: Zope-3x-branch
	BTreeModuleTemplate.c 
Log Message:
Use PyPersist_HEAD instead of PyPersist_INSTANCE_HEAD.

The BTrees objects should not have an __dict__.



=== Zope3/lib/python/Persistence/BTrees/BTreeModuleTemplate.c 1.1.2.8 => 1.1.2.9 ===
 typedef struct Bucket_s {
 #ifdef PERSISTENT
-  PyPersist_HEAD
+  PyPersist_INSTANCE_HEAD
   PyObject **po_weaklist;
 #else
   PyObject_HEAD
@@ -85,7 +85,7 @@
 
 typedef struct {
 #ifdef PERSISTENT
-  PyPersist_HEAD
+  PyPersist_INSTANCE_HEAD
   PyObject **po_weaklist;
 #else
   PyObject_HEAD