summaryrefslogtreecommitdiff
path: root/core/core_bind.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-12-06 16:34:15 +0100
committerGitHub <noreply@github.com>2021-12-06 16:34:15 +0100
commit3ae8eda1ed30b6c32f6fc1141118c5a062161a96 (patch)
treecd211aeac075967a5c6598cb06345962126008f5 /core/core_bind.h
parente8082003f19ad8d98b6b2f74f64f4eaa7fe86353 (diff)
parent5761b90f3c7d66f5a93aef57e6a21feb807d24bf (diff)
Merge pull request #55603 from Calinou/add-os-crash-method
Add an `OS.crash()` method for testing system crash handler
Diffstat (limited to 'core/core_bind.h')
-rw-r--r--core/core_bind.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/core_bind.h b/core/core_bind.h
index 4bacfa720c..920f2b539b 100644
--- a/core/core_bind.h
+++ b/core/core_bind.h
@@ -161,6 +161,7 @@ public:
int get_low_processor_usage_mode_sleep_usec() const;
void alert(const String &p_alert, const String &p_title = "ALERT!");
+ void crash(const String &p_message);
String get_executable_path() const;
int execute(const String &p_path, const Vector<String> &p_arguments, Array r_output = Array(), bool p_read_stderr = false);