Replaced PyObject_HEAD_INIT(NULL) with PyVarObject_HEAD_INIT(NULL, 0)

in the definitions of Python wrappers.
This commit is contained in:
Tamito Kajiyama
2010-04-08 01:13:54 +00:00
parent 7ed7524c91
commit d131a8db48
124 changed files with 124 additions and 124 deletions

View File

@@ -32,7 +32,7 @@ static PyMethodDef BPy_FEdgeSmooth_methods[] = {
/*-----------------------BPy_FEdgeSmooth type definition ------------------------------*/
PyTypeObject FEdgeSmooth_Type = {
PyObject_HEAD_INIT(NULL)
PyVarObject_HEAD_INIT(NULL, 0)
"FEdgeSmooth", /* tp_name */
sizeof(BPy_FEdgeSmooth), /* tp_basicsize */
0, /* tp_itemsize */