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

@@ -14,7 +14,7 @@ static int fstreamShader___init__( BPy_fstreamShader* self, PyObject *args);
/*-----------------------BPy_fstreamShader type definition ------------------------------*/
PyTypeObject fstreamShader_Type = {
PyObject_HEAD_INIT(NULL)
PyVarObject_HEAD_INIT(NULL, 0)
"fstreamShader", /* tp_name */
sizeof(BPy_fstreamShader), /* tp_basicsize */
0, /* tp_itemsize */