diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-08-10 08:50:48 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-08-10 08:50:48 +0400 |
commit | 7084be920a0acb95e2db84bb7029a65bc7a76d9a (patch) | |
tree | e7159bcddfc48fc1c11e0d77e5d7ef4c9a44db7e /source/blender/python/intern/bpy_util.h | |
parent | 335b74a7143dc328e1c216176fb04b207ced8ee7 (diff) |
fix for build problem with audiospace and implicit declaration.
Diffstat (limited to 'source/blender/python/intern/bpy_util.h')
-rw-r--r-- | source/blender/python/intern/bpy_util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_util.h b/source/blender/python/intern/bpy_util.h index 3a47691e79f..0400d595520 100644 --- a/source/blender/python/intern/bpy_util.h +++ b/source/blender/python/intern/bpy_util.h @@ -50,6 +50,8 @@ void PyObSpit(char *name, PyObject *var); void PyLineSpit(void); void BPY_getFileAndNum(char **filename, int *lineno); +PyObject *Py_CmpToRich(int op, int cmp); + PyObject *BPY_exception_buffer(void); /* own python like utility function */ @@ -75,7 +77,7 @@ int BPY_class_validate(const char *class_type, PyObject *class, PyObject *base_c char *BPy_enum_as_string(struct EnumPropertyItem *item); -#define BLANK_PYTHON_TYPE {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0} +#define BLANK_PYTHON_TYPE {PyVarObject_HEAD_INIT(NULL, 0) 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0} /* error reporting */ int BPy_reports_to_error(struct ReportList *reports); |