summaryrefslogtreecommitdiffstats
path: root/core/os/os.h
diff options
context:
space:
mode:
authorEmmanuel Leblond <emmanuel.leblond@gmail.com>2020-06-04 22:03:45 +0200
committerEmmanuel Leblond <emmanuel.leblond@gmail.com>2021-02-25 18:34:50 +0100
commit60d2c1fd47a0c24a127ea00f09724537f5527dbb (patch)
tree6b92be637c408a92715bcec68950250dcf31790e /core/os/os.h
parent0e4abcb77f6b5ce81824462706f8b2325bc3fed1 (diff)
downloadredot-engine-60d2c1fd47a0c24a127ea00f09724537f5527dbb.tar.gz
Remove GDScript bindings for OS.get/set_exit_code, SceneTree.quit(<exit_code>) should be used instead
Diffstat (limited to 'core/os/os.h')
-rw-r--r--core/os/os.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/os/os.h b/core/os/os.h
index a740a23617..e41d788e12 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -55,7 +55,6 @@ class OS {
String _local_clipboard;
bool _no_window = false;
int _exit_code = EXIT_FAILURE; // unexpected exit is marked as failure
- bool _is_custom_exit_code = false;
int _orientation;
bool _allow_hidpi = false;
bool _allow_layered = false;
@@ -270,7 +269,6 @@ public:
virtual int get_exit_code() const;
virtual void set_exit_code(int p_code);
- virtual bool is_custom_exit_code();
virtual int get_processor_count() const;