From d131a8db487618859c92fc7912b5c82269902af7 Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Thu, 8 Apr 2010 01:13:54 +0000 Subject: Replaced PyObject_HEAD_INIT(NULL) with PyVarObject_HEAD_INIT(NULL, 0) in the definitions of Python wrappers. --- source/blender/freestyle/intern/python/Interface1D/Curve/BPy_Chain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/freestyle/intern/python/Interface1D/Curve/BPy_Chain.cpp') diff --git a/source/blender/freestyle/intern/python/Interface1D/Curve/BPy_Chain.cpp b/source/blender/freestyle/intern/python/Interface1D/Curve/BPy_Chain.cpp index 250d6b1b2cc..e3b6927dbbc 100644 --- a/source/blender/freestyle/intern/python/Interface1D/Curve/BPy_Chain.cpp +++ b/source/blender/freestyle/intern/python/Interface1D/Curve/BPy_Chain.cpp @@ -26,7 +26,7 @@ static PyMethodDef BPy_Chain_methods[] = { /*-----------------------BPy_Chain type definition ------------------------------*/ PyTypeObject Chain_Type = { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "Chain", /* tp_name */ sizeof(BPy_Chain), /* tp_basicsize */ 0, /* tp_itemsize */ -- cgit v1.2.3