diff --git a/source/blender/python/api2_2x/Curve.h b/source/blender/python/api2_2x/Curve.h index 631f27d2afc..38f795a1e78 100644 --- a/source/blender/python/api2_2x/Curve.h +++ b/source/blender/python/api2_2x/Curve.h @@ -197,7 +197,7 @@ struct Curve* CurveFromPyObject (PyObject *py_obj); /*****************************************************************************/ /* Python Curve_Type structure definition: */ /*****************************************************************************/ -static PyTypeObject Curve_Type = +PyTypeObject Curve_Type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ diff --git a/source/blender/python/api2_2x/Metaball.h b/source/blender/python/api2_2x/Metaball.h index 2da63447225..eaa310cf169 100644 --- a/source/blender/python/api2_2x/Metaball.h +++ b/source/blender/python/api2_2x/Metaball.h @@ -205,7 +205,7 @@ static PyObject *MetaballRepr (C_Metaball *self); /*****************************************************************************/ /* Python Metaball_Type structure definition: */ /*****************************************************************************/ -static PyTypeObject Metaball_Type = +PyTypeObject Metaball_Type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */