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

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

View File

@@ -15,7 +15,7 @@ static int CalligraphicShader___init__( BPy_CalligraphicShader* self, PyObject *
/*-----------------------BPy_CalligraphicShader type definition ------------------------------*/
PyTypeObject CalligraphicShader_Type = {
PyObject_HEAD_INIT(NULL)
PyVarObject_HEAD_INIT(NULL, 0)
"CalligraphicShader", /* tp_name */
sizeof(BPy_CalligraphicShader), /* tp_basicsize */
0, /* tp_itemsize */