diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-01-29 12:38:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-01-29 12:38:52 +0300 |
commit | ca36e04362d1140fdc61bc052dd7b3dcc81545a0 (patch) | |
tree | 58fe681cacd04c34b54cfd0df15fd44827166e7b /source/blender/python/intern/bpy_operator.h | |
parent | 12616b7e247c721b33aff133f39cad44c96056a8 (diff) |
python3 couldn't generate epydocs because python3 needs richcompare functions for C defined PyTypes (it seems).
Diffstat (limited to 'source/blender/python/intern/bpy_operator.h')
-rw-r--r-- | source/blender/python/intern/bpy_operator.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; |