Replaced PyObject_HEAD_INIT(NULL) with PyVarObject_HEAD_INIT(NULL, 0)
in the definitions of Python wrappers.
This commit is contained in:
@@ -63,7 +63,7 @@ static PyMethodDef BPy_FEdge_methods[] = {
|
||||
/*-----------------------BPy_FEdge type definition ------------------------------*/
|
||||
|
||||
PyTypeObject FEdge_Type = {
|
||||
PyObject_HEAD_INIT(NULL)
|
||||
PyVarObject_HEAD_INIT(NULL, 0)
|
||||
"FEdge", /* tp_name */
|
||||
sizeof(BPy_FEdge), /* tp_basicsize */
|
||||
0, /* tp_itemsize */
|
||||
|
||||
Reference in New Issue
Block a user