From ca36e04362d1140fdc61bc052dd7b3dcc81545a0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 29 Jan 2009 09:38:52 +0000 Subject: python3 couldn't generate epydocs because python3 needs richcompare functions for C defined PyTypes (it seems). --- source/blender/python/intern/bpy_operator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/python/intern/bpy_operator.h') diff --git a/source/blender/python/intern/bpy_operator.h b/source/blender/python/intern/bpy_operator.h index 19c503c1e8c..5cc3ba64e0e 100644 --- a/source/blender/python/intern/bpy_operator.h +++ b/source/blender/python/intern/bpy_operator.h @@ -36,12 +36,12 @@ extern PyTypeObject pyop_base_Type; extern PyTypeObject pyop_func_Type; typedef struct { - PyObject_VAR_HEAD /* required python macro */ + PyObject_HEAD /* required python macro */ bContext *C; } BPy_OperatorBase; typedef struct { - PyObject_VAR_HEAD /* required python macro */ + PyObject_HEAD /* required python macro */ char name[OP_MAX_TYPENAME]; bContext *C; } BPy_OperatorFunc; -- cgit v1.2.3