From a5c44265a3368020bc9524696dae94caa9419e2c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 12 Mar 2021 15:58:12 +1100 Subject: Cleanup: remove workaround for MSVC PyTypeObject declarations This is no longer needed for MSVC-2017. --- source/blender/python/intern/bpy_rna_data.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/python/intern/bpy_rna_data.c') diff --git a/source/blender/python/intern/bpy_rna_data.c b/source/blender/python/intern/bpy_rna_data.c index 3771cc05490..daab1631e8e 100644 --- a/source/blender/python/intern/bpy_rna_data.c +++ b/source/blender/python/intern/bpy_rna_data.c @@ -100,8 +100,8 @@ static PyTypeObject bpy_rna_data_context_Type = { NULL, /* reprfunc tp_str; */ /* will only use these if this is a subtype of a py class */ - NULL /*PyObject_GenericGetAttr is assigned later */, /* getattrofunc tp_getattro; */ - NULL, /* setattrofunc tp_setattro; */ + NULL, /* getattrofunc tp_getattro; */ + NULL, /* setattrofunc tp_setattro; */ /* Functions to access object as input/output buffer */ NULL, /* PyBufferProcs *tp_as_buffer; */ -- cgit v1.2.3