[Zodb-checkins] CVS: Zope/lib/python/BTrees - BTreeTemplate.c:1.25.14.1 BucketTemplate.c:1.28.14.1

Toby Dickenson tdickenson@geminidataloggers.com
Tue, 12 Mar 2002 12:40:54 -0500


Update of /cvs-repository/Zope/lib/python/BTrees
In directory cvs.zope.org:/tmp/cvs-serv13065/lib/python/BTrees

Modified Files:
      Tag: toby-stiff-cache-branch
	BTreeTemplate.c BucketTemplate.c 
Log Message:
first attempt at merging new implementation of zodb in-memory object cache

=== Zope/lib/python/BTrees/BTreeTemplate.c 1.25 => 1.25.14.1 ===
     {
       if (_BTree_clear(self) < 0) return NULL;
-      self->state=cPersistent_GHOST_STATE;
+      PER_GHOSTIFY(self);
     }
 
   Py_INCREF(Py_None);


=== Zope/lib/python/BTrees/BucketTemplate.c 1.28 => 1.28.14.1 ===
     {
       if (_bucket_clear(self) < 0) return NULL;
-      self->state=cPersistent_GHOST_STATE;
+      PER_GHOSTIFY(self);
     }
 
   Py_INCREF(Py_None);