Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-04-08 05:13:54 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-04-08 05:13:54 +0400
commitd131a8db487618859c92fc7912b5c82269902af7 (patch)
tree60e9dd91b7fafc35be38bf05b977cdb44fcbd9a4 /source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ExternalContourUP1D.cpp
parent7ed7524c91a07756466cc235d476daf0c7100b72 (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/UnaryPredicate1D/BPy_ExternalContourUP1D.cpp')
-rw-r--r--source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ExternalContourUP1D.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ExternalContourUP1D.cpp b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ExternalContourUP1D.cpp
index e4e94c68291..09d6c5e3ae4 100644
--- a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ExternalContourUP1D.cpp
+++ b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ExternalContourUP1D.cpp
@@ -12,7 +12,7 @@ static int ExternalContourUP1D___init__(BPy_ExternalContourUP1D* self, PyObject
/*-----------------------BPy_ExternalContourUP1D type definition ------------------------------*/
PyTypeObject ExternalContourUP1D_Type = {
- PyObject_HEAD_INIT(NULL)
+ PyVarObject_HEAD_INIT(NULL, 0)
"ExternalContourUP1D", /* tp_name */
sizeof(BPy_ExternalContourUP1D), /* tp_basicsize */
0, /* tp_itemsize */