diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-04-08 05:13:54 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-04-08 05:13:54 +0400 |
commit | d131a8db487618859c92fc7912b5c82269902af7 (patch) | |
tree | 60e9dd91b7fafc35be38bf05b977cdb44fcbd9a4 /source/blender/freestyle/intern/python/StrokeShader/BPy_PolygonalizationShader.cpp | |
parent | 7ed7524c91a07756466cc235d476daf0c7100b72 (diff) |
Replaced PyObject_HEAD_INIT(NULL) with PyVarObject_HEAD_INIT(NULL, 0)
in the definitions of Python wrappers.
Diffstat (limited to 'source/blender/freestyle/intern/python/StrokeShader/BPy_PolygonalizationShader.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/StrokeShader/BPy_PolygonalizationShader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/StrokeShader/BPy_PolygonalizationShader.cpp b/source/blender/freestyle/intern/python/StrokeShader/BPy_PolygonalizationShader.cpp index e1c4cbf2fbd..e03334e6418 100644 --- a/source/blender/freestyle/intern/python/StrokeShader/BPy_PolygonalizationShader.cpp +++ b/source/blender/freestyle/intern/python/StrokeShader/BPy_PolygonalizationShader.cpp @@ -14,7 +14,7 @@ static int PolygonalizationShader___init__( BPy_PolygonalizationShader* self, Py /*-----------------------BPy_PolygonalizationShader type definition ------------------------------*/ PyTypeObject PolygonalizationShader_Type = { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "PolygonalizationShader", /* tp_name */ sizeof(BPy_PolygonalizationShader), /* tp_basicsize */ 0, /* tp_itemsize */ |