commit | db6a569de7ae595ada53b618fce6bbbd1c98d350 | [log] [tgz] |
---|---|---|
author | Jim Fulton <jim@zope.com> | Sat Jun 28 11:53:12 2003 +0000 |
committer | Jim Fulton <jim@zope.com> | Sat Jun 28 11:53:12 2003 +0000 |
tree | 01f107dbe8ab29b7acd816746c188bf0e65cfa49 | |
parent | ded8e740df2a824a9df8ebd5d71766bf26e4ba53 [diff] |
Changed the assignment of PyType_GenericNew to tp_new slot. Now do this in module initialization before calling PyType_Ready. (Sorry Tim.) This is necessary to compile on cygwin. AFAIK, we support cygwin. If so, then we need to write extentions this way. Fixed bug in implementation of tp_init function. It should be an int function, not a PyObject *.