diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-27 06:01:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-27 06:03:40 +0300 |
commit | 9f2665b52624eb1dbf75f479c5d9529ca067f29a (patch) | |
tree | 915aea75a21af42af843b94a4adbcf46f0ee61a0 /source/blender/python/intern/bpy_capi_utils.h | |
parent | fb7f157ff89dc5a3697922ee8c8403a001cd822f (diff) |
PyAPI: utility function to print reports
Diffstat (limited to 'source/blender/python/intern/bpy_capi_utils.h')
-rw-r--r-- | source/blender/python/intern/bpy_capi_utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_capi_utils.h b/source/blender/python/intern/bpy_capi_utils.h index 533ff0fb7c2..f8d42b463ac 100644 --- a/source/blender/python/intern/bpy_capi_utils.h +++ b/source/blender/python/intern/bpy_capi_utils.h @@ -34,6 +34,7 @@ char *BPy_enum_as_string(const struct EnumPropertyItem *item); /* error reporting */ short BPy_reports_to_error(struct ReportList *reports, PyObject *exception, const bool clear); +void BPy_reports_write_stdout(const struct ReportList *reports, const char *header); bool BPy_errors_to_report_ex(struct ReportList *reports, const bool use_full, const bool use_location); bool BPy_errors_to_report(struct ReportList *reports); |