diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/UnaryPredicate0D')
-rw-r--r-- | source/blender/freestyle/intern/python/UnaryPredicate0D/BPy_FalseUP0D.cpp | 2 | ||||
-rw-r--r-- | source/blender/freestyle/intern/python/UnaryPredicate0D/BPy_TrueUP0D.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/python/UnaryPredicate0D/BPy_FalseUP0D.cpp b/source/blender/freestyle/intern/python/UnaryPredicate0D/BPy_FalseUP0D.cpp index 789999c00f6..a39ac9d02b3 100644 --- a/source/blender/freestyle/intern/python/UnaryPredicate0D/BPy_FalseUP0D.cpp +++ b/source/blender/freestyle/intern/python/UnaryPredicate0D/BPy_FalseUP0D.cpp @@ -13,7 +13,7 @@ static int FalseUP0D___init__(BPy_FalseUP0D* self, PyObject *args); /*-----------------------BPy_FalseUP0D type definition ------------------------------*/ PyTypeObject FalseUP0D_Type = { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "FalseUP0D", /* tp_name */ sizeof(BPy_FalseUP0D), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/source/blender/freestyle/intern/python/UnaryPredicate0D/BPy_TrueUP0D.cpp b/source/blender/freestyle/intern/python/UnaryPredicate0D/BPy_TrueUP0D.cpp index 47b9ce02d8a..f5745df534b 100644 --- a/source/blender/freestyle/intern/python/UnaryPredicate0D/BPy_TrueUP0D.cpp +++ b/source/blender/freestyle/intern/python/UnaryPredicate0D/BPy_TrueUP0D.cpp @@ -12,7 +12,7 @@ static int TrueUP0D___init__(BPy_TrueUP0D* self, PyObject *args); /*-----------------------BPy_TrueUP0D type definition ------------------------------*/ PyTypeObject TrueUP0D_Type = { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "TrueUP0D", /* tp_name */ sizeof(BPy_TrueUP0D), /* tp_basicsize */ 0, /* tp_itemsize */ |