[Bf-blender-cvs] [6776b74d0a6] master: Cleanup: remove unused BLANK_PYTHON_TYPE define

Campbell Barton noreply at git.blender.org
Wed Apr 14 04:20:01 CEST 2021


Commit: 6776b74d0a6720d233efa459fa238aa57eb84a76
Author: Campbell Barton
Date:   Wed Apr 14 12:19:06 2021 +1000
Branches: master
https://developer.blender.org/rB6776b74d0a6720d233efa459fa238aa57eb84a76

Cleanup: remove unused BLANK_PYTHON_TYPE define

===================================================================

M	source/blender/python/intern/bpy_capi_utils.h

===================================================================

diff --git a/source/blender/python/intern/bpy_capi_utils.h b/source/blender/python/intern/bpy_capi_utils.h
index 0854713982d..d7ee1eedabb 100644
--- a/source/blender/python/intern/bpy_capi_utils.h
+++ b/source/blender/python/intern/bpy_capi_utils.h
@@ -33,11 +33,6 @@ struct ReportList;
 
 char *BPy_enum_as_string(const struct EnumPropertyItem *item);
 
-#define BLANK_PYTHON_TYPE \
-  { \
-    PyVarObject_HEAD_INIT(NULL, 0) NULL \
-  }
-
 /* error reporting */
 short BPy_reports_to_error(struct ReportList *reports, PyObject *exception, const bool clear);
 void BPy_reports_write_stdout(const struct ReportList *reports, const char *header);



More information about the Bf-blender-cvs mailing list