File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -258,10 +258,7 @@ static PyMethodDef methods[] = {
258258};
259259
260260PyTypeObject Data_Type = {
261- /* The ob_type field must be initialized in the module init function
262- * to be portable to Windows without using C++. */
263- PyObject_HEAD_INIT (NULL )
264- 0 , /*ob_size*/
261+ PyVarObject_HEAD_INIT (NULL , 0 )
265262 "iptcdatamodule.Data" , /*tp_name*/
266263 sizeof (DataObject ), /*tp_basicsize*/
267264 0 , /*tp_itemsize*/
Original file line number Diff line number Diff line change @@ -342,7 +342,6 @@ PyTypeObject DataSet_Type = {
342342 /* The ob_type field must be initialized in the module init function
343343 * to be portable to Windows without using C++. */
344344 PyVarObject_HEAD_INIT (NULL , 0 )
345- 0 , /*ob_size*/
346345 "iptcdatamodule.DataSet" , /*tp_name*/
347346 sizeof (DataSetObject ), /*tp_basicsize*/
348347 0 , /*tp_itemsize*/
You can’t perform that action at this time.
0 commit comments