summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMarcelo Fernandez <marcelofg55@gmail.com>2017-09-07 22:01:49 -0300
committerMarcelo Fernandez <marcelofg55@gmail.com>2017-09-13 10:07:23 -0300
commit83fe9373621ab9f7e175a43868b2eda935107539 (patch)
tree116a92b2c32713b4f3f907b451e457a9a623d50a /core
parent06138bf18c25a8c5f7e2e5bb1ebd9dcf0b2f28dd (diff)
Added a crash handler to dump the backtrace on Windows, Linux and OS X
Diffstat (limited to 'core')
-rw-r--r--core/os/os.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/os/os.h b/core/os/os.h
index 258708eea2..c378d36a35 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -279,6 +279,9 @@ public:
bool is_stdout_verbose() const;
+ virtual void disable_crash_handler() {}
+ virtual bool is_disable_crash_handler() const { return false; }
+
enum CursorShape {
CURSOR_ARROW,
CURSOR_IBEAM,