summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/waste/wastemodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/waste/wastemodule.c')
-rw-r--r--Mac/Modules/waste/wastemodule.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/Mac/Modules/waste/wastemodule.c b/Mac/Modules/waste/wastemodule.c
index 2c28310..921f297 100644
--- a/Mac/Modules/waste/wastemodule.c
+++ b/Mac/Modules/waste/wastemodule.c
@@ -5,12 +5,8 @@
-#ifdef _WIN32
-#include "pywintoolbox.h"
-#else
#include "macglue.h"
#include "pymactoolbox.h"
-#endif
/* Macro to test whether a weak-loaded CFM function exists */
#define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\
@@ -348,7 +344,7 @@ static PyObject *WEOObj_getattr(WEOObject *self, char *name)
#define WEOObj_hash NULL
PyTypeObject WEO_Type = {
- PyObject_HEAD_INIT(&PyType_Type)
+ PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
"WEO", /*tp_name*/
sizeof(WEOObject), /*tp_basicsize*/
@@ -1713,7 +1709,7 @@ static PyObject *wasteObj_getattr(wasteObject *self, char *name)
#define wasteObj_hash NULL
PyTypeObject waste_Type = {
- PyObject_HEAD_INIT(&PyType_Type)
+ PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
"waste", /*tp_name*/
sizeof(wasteObject), /*tp_basicsize*/