Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-01-29 12:38:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-01-29 12:38:52 +0300
commitca36e04362d1140fdc61bc052dd7b3dcc81545a0 (patch)
tree58fe681cacd04c34b54cfd0df15fd44827166e7b /source/blender/python/intern/bpy_operator.h
parent12616b7e247c721b33aff133f39cad44c96056a8 (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.h4
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;