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>2011-03-12 18:18:08 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-12 18:18:08 +0300
commit90d42e114c2b8828e84a5e229da0de0a23ec0a83 (patch)
tree0c80b5f1214cfba5422f0b587b116e66c7a5c0af /source/blender/python/intern/bpy_util.h
parenta5e59ede6e275d89fb74ab2e2ae1ee581e08356b (diff)
py/rna: BPy_reports_to_error() now takes the exception type as an argument and returns -1 as an error value
Diffstat (limited to 'source/blender/python/intern/bpy_util.h')
-rw-r--r--source/blender/python/intern/bpy_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_util.h b/source/blender/python/intern/bpy_util.h
index 7d1947a5a52..b16c8fe2e8c 100644
--- a/source/blender/python/intern/bpy_util.h
+++ b/source/blender/python/intern/bpy_util.h
@@ -44,7 +44,7 @@ char *BPy_enum_as_string(struct EnumPropertyItem *item);
#define BLANK_PYTHON_TYPE {PyVarObject_HEAD_INIT(NULL, 0) NULL}
/* error reporting */
-short BPy_reports_to_error(struct ReportList *reports, const short clear);
+short BPy_reports_to_error(struct ReportList *reports, PyObject *exception, const short clear);
short BPy_errors_to_report(struct ReportList *reports);
/* TODO - find a better solution! */