Index: api2_2x/Armature.c =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/Armature.c,v retrieving revision 1.1 diff -r1.1 Armature.c 159a160,163 > #ifdef WIN32 > Armature_Type.ob_type = &PyType_Type; > #endif > Index: api2_2x/Armature.h =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/Armature.h,v retrieving revision 1.1 diff -r1.1 Armature.h 141a142,144 > #ifdef WIN32 > PyObject_HEAD_INIT(NULL) > #else 142a146 > #endif Index: api2_2x/BGL.c =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/BGL.c,v retrieving revision 1.4 diff -r1.4 BGL.c 1003,1004c1003,1008 < PyObject *mod= Py_InitModule("Blender.BGL", BGL_methods); < PyObject *dict= PyModule_GetDict(mod); --- > PyObject *mod, *dict; > #ifdef WIN32 > buffer_Type.ob_type = &PyType_Type; > #endif > mod= Py_InitModule("Blender.BGL", BGL_methods); > dict= PyModule_GetDict(mod); Index: api2_2x/BGL.h =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/BGL.h,v retrieving revision 1.3 diff -r1.3 BGL.h 138a139,141 > #ifdef WIN32 > PyObject_HEAD_INIT(NULL) > #else 139a143 > #endif Index: api2_2x/Bone.c =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/Bone.c,v retrieving revision 1.1 diff -r1.1 Bone.c 150a151,153 > #ifdef WIN32 > PyObject_HEAD_INIT(NULL) > #else 151a155 > #endif 227a232,235 > > #ifdef WIN32 > Bone_Type.ob_type = &PyType_Type; > #endif Index: api2_2x/Camera.c =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/Camera.c,v retrieving revision 1.7 diff -r1.7 Camera.c 161a162,165 > > #ifdef WIN32 > Camera_Type.ob_type = &PyType_Type; > #endif Index: api2_2x/Camera.h =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/Camera.h,v retrieving revision 1.7 diff -r1.7 Camera.h 205a206,208 > #ifdef WIN32 > PyObject_HEAD_INIT(NULL) > #else 206a210 > #endif Index: api2_2x/Curve.c =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/Curve.c,v retrieving revision 1.3 diff -r1.3 Curve.c 147a148,152 > > #ifdef WIN32 > Curve_Type.ob_type = &PyType_Type; > #endif > Index: api2_2x/Curve.h =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/Curve.h,v retrieving revision 1.3 diff -r1.3 Curve.h 202a203,205 > #ifdef WIN32 > PyObject_HEAD_INIT(NULL) > #else 203a207 > #endif Index: api2_2x/Draw.c =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/Draw.c,v retrieving revision 1.2 diff -r1.2 Draw.c 639a640,643 > #ifdef WIN32 > Button_Type.ob_type = &PyType_Type; > #endif > Index: api2_2x/Draw.h =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/Draw.h,v retrieving revision 1.3 diff -r1.3 Draw.h 104a105,107 > #ifdef WIN32 > PyObject_HEAD_INIT(NULL) > #else 105a109 > #endif Index: api2_2x/Image.c =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/Image.c,v retrieving revision 1.7 diff -r1.7 Image.c 212a213,216 > #ifdef WIN32 > Image_Type.ob_type = &PyType_Type; > #endif > 263a268,270 > #ifdef WIN32 > PyObject_HEAD_INIT(NULL) > #else 264a272 > #endif Index: api2_2x/Lamp.c =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/Lamp.c,v retrieving revision 1.9 diff -r1.9 Lamp.c 202a203,206 > #ifdef WIN32 > Lamp_Type.ob_type = &PyType_Type; > #endif > Index: api2_2x/Lamp.h =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/Lamp.h,v retrieving revision 1.8 diff -r1.8 Lamp.h 305a306,308 > #ifdef WIN32 > PyObject_HEAD_INIT(NULL) > #else 306a310 > #endif Index: api2_2x/Material.c =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/Material.c,v retrieving revision 1.2 diff -r1.2 Material.c 252a253,256 > #ifdef WIN32 > Material_Type.ob_type = &PyType_Type; > #endif > 438a443,445 > #ifdef WIN32 > PyObject_HEAD_INIT(NULL) > #else 439a447 > #endif Index: api2_2x/NMesh.c =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/NMesh.c,v retrieving revision 1.5 diff -r1.5 NMesh.c 112a113,115 > #ifdef WIN32 > PyObject_HEAD_INIT(NULL) > #else 113a117 > #endif 352a357,359 > #ifdef WIN32 > PyObject_HEAD_INIT(NULL) > #else 353a361 > #endif 523a532,534 > #ifdef WIN32 > PyObject_HEAD_INIT(NULL) > #else 524a536 > #endif 853a866,868 > #ifdef WIN32 > PyObject_HEAD_INIT(NULL) > #else 854a870 > #endif 1664c1680 < PyObject *submodule; --- > PyObject *submodule, *FaceFlags, *FaceModes, *FaceTranspModes; 1666,1668c1682,1691 < PyObject *FaceFlags = M_NMesh_FaceFlagsDict (); < PyObject *FaceModes = M_NMesh_FaceModesDict (); < PyObject *FaceTranspModes = M_NMesh_FaceTranspModesDict (); --- > #ifdef WIN32 > NMesh_Type.ob_type = &PyType_Type; > NMFace_Type.ob_type = &PyType_Type; > NMVert_Type.ob_type = &PyType_Type; > NMesh_Type.ob_type = &PyType_Type; > #endif > > FaceFlags = M_NMesh_FaceFlagsDict (); > FaceModes = M_NMesh_FaceModesDict (); > FaceTranspModes = M_NMesh_FaceTranspModesDict (); Index: api2_2x/Object.c =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/Object.c,v retrieving revision 1.10 diff -r1.10 Object.c 306a307,310 > #ifdef WIN32 > Object_Type.ob_type = &PyType_Type; > #endif > Index: api2_2x/Object.h =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/Object.h,v retrieving revision 1.5 diff -r1.5 Object.h 221c221,225 < PyObject_HEAD_INIT(&PyType_Type) --- > #ifdef WIN32 > PyObject_HEAD_INIT(NULL) > #else > PyObject_HEAD_INIT(&PyType_Type) > #endif Index: api2_2x/Text.c =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/Text.c,v retrieving revision 1.4 diff -r1.4 Text.c 209a210,213 > #ifdef WIN32 > Text_Type.ob_type = &PyType_Type; > #endif > Index: api2_2x/Text.h =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/Text.h,v retrieving revision 1.5 diff -r1.5 Text.h 156a157,159 > #ifdef WIN32 > PyObject_HEAD_INIT(NULL) > #else 157a161 > #endif Index: api2_2x/constant.c =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/constant.c,v retrieving revision 1.4 diff -r1.4 constant.c 62a63,65 > #ifdef WIN32 > PyObject_HEAD_INIT(NULL) > #else 63a67 > #endif 98a103,106 > > #ifdef WIN32 > constant_Type.ob_type = &PyType_Type; > #endif Index: api2_2x/rgbTuple.c =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/rgbTuple.c,v retrieving revision 1.2 diff -r1.2 rgbTuple.c 85a86,88 > #ifdef WIN32 > PyObject_HEAD_INIT(NULL) > #else 86a90 > #endif 114a119,122 > > #ifdef WIN32 > rgbTuple_Type.ob_type = &PyType_Type; > #endif Index: api2_2x/vector.c =================================================================== RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/vector.c,v retrieving revision 1.2 diff -r1.2 vector.c 195a196,198 > #ifdef WIN32 > PyObject_HEAD_INIT(NULL) > #else 196a200 > #endif 214a219,222 > > #ifdef WIN32 > vector_Type.ob_type = &PyType_Type; > #endif