PyAPI: utility function to print reports

This commit is contained in:
2019-03-27 14:01:25 +11:00
parent fb7f157ff8
commit 9f2665b526
3 changed files with 15 additions and 4 deletions

View File

@@ -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);