diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-01-10 20:37:48 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-01-10 20:37:48 +0400 |
commit | 18536e201f26f20bde6379afa996153433404c65 (patch) | |
tree | 092fee45425217006de6d36ba26c110831c0cabe /source/blender/blenkernel/BKE_report.h | |
parent | f6f33515ac62fb603ceba0eeaf79047b4451f754 (diff) |
add a segfault handler that writes out the info log into a crash file alongside the blend file.
Diffstat (limited to 'source/blender/blenkernel/BKE_report.h')
-rw-r--r-- | source/blender/blenkernel/BKE_report.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_report.h b/source/blender/blenkernel/BKE_report.h index 4d69a013101..84cc4b6db83 100644 --- a/source/blender/blenkernel/BKE_report.h +++ b/source/blender/blenkernel/BKE_report.h @@ -72,7 +72,10 @@ void BKE_reports_print(ReportList *reports, ReportType level); Report *BKE_reports_last_displayable(ReportList *reports); int BKE_reports_contain(ReportList *reports, ReportType level); - + +// int BKE_report_write_file_fp(struct FILE *fp, ReportList *reports, const char *header); +bool BKE_report_write_file(const char *filepath, ReportList *reports, const char *header); + #ifdef __cplusplus } #endif |