[Zope3-checkins] CVS: Zope3/lib/python/Persistence - cPersistence.c:1.25
Tim Peters
tim.one@comcast.net
Thu, 31 Oct 2002 10:51:33 -0500
Update of /cvs-repository/Zope3/lib/python/Persistence
In directory cvs.zope.org:/tmp/cvs-serv23879/lib/python/Persistence
Modified Files:
cPersistence.c
Log Message:
In the definition of PyPersist_Type, use the DEFERRED_ADDRESS macro
so that this will actually compile on Window under 2.3 (std problem w/
a std solution).
=== Zope3/lib/python/Persistence/cPersistence.c 1.24 => 1.25 ===
--- Zope3/lib/python/Persistence/cPersistence.c:1.24 Thu Oct 17 15:53:12 2002
+++ Zope3/lib/python/Persistence/cPersistence.c Thu Oct 31 10:51:32 2002
@@ -679,7 +679,7 @@
#define DEFERRED_ADDRESS(ADDR) 0
static PyTypeObject PyPersist_Type = {
- PyObject_HEAD_INIT(&PyPersist_MetaType)
+ PyObject_HEAD_INIT(DEFERRED_ADDRESS(&PyPersist_MetaType))
0, /* ob_size */
"Persistence.Persistent", /* tp_name */
sizeof(PyPersistObject), /* tp_basicsize */