[Zope3-checkins] CVS: Zope3/src/pythonlib/compat22 - _csv.c:1.4
Godefroid Chapelle
gotcha at swing.be
Thu Sep 18 08:25:25 EDT 2003
Update of /cvs-repository/Zope3/src/pythonlib/compat22
In directory cvs.zope.org:/tmp/cvs-serv21822
Modified Files:
_csv.c
Log Message:
changed so that it compiles for Cygwin
=== Zope3/src/pythonlib/compat22/_csv.c 1.3 => 1.4 ===
--- Zope3/src/pythonlib/compat22/_csv.c:1.3 Tue Sep 2 11:57:14 2003
+++ Zope3/src/pythonlib/compat22/_csv.c Thu Sep 18 08:25:23 2003
@@ -442,7 +442,7 @@
0, /* tp_descr_set */
0, /* tp_dictoffset */
(initproc)dialect_init, /* tp_init */
- PyType_GenericAlloc, /* tp_alloc */
+ 0, /*PyType_GenericAlloc,*/ /* tp_alloc */
dialect_new, /* tp_new */
0, /* tp_free */
};
@@ -1542,7 +1542,9 @@
style->style) == -1)
return;
}
+
+ Dialect_Type.tp_alloc = PyType_GenericAlloc;
/* Add the Dialect type */
if (PyModule_AddObject(module, "Dialect", (PyObject *)&Dialect_Type))
return;
More information about the Zope3-Checkins
mailing list