diff options
| author | karroffel | 2017-01-07 18:55:48 +0100 |
|---|---|---|
| committer | karroffel | 2017-01-07 18:55:48 +0100 |
| commit | fbfcc981d95d94a3d7dfbc214e37bb02da3dec66 (patch) | |
| tree | 8e5767cb752ba638576f874d40a0b0f1edf92ae8 /core/bind/core_bind.h | |
| parent | 2a38a5eaa844043b846e03d6655f84caf8a31e74 (diff) | |
| download | godot-fbfcc981d95d94a3d7dfbc214e37bb02da3dec66.tar.gz godot-fbfcc981d95d94a3d7dfbc214e37bb02da3dec66.tar.zst godot-fbfcc981d95d94a3d7dfbc214e37bb02da3dec66.zip | |
exposed OS.set_exit_code and OS.get_exit_code to ClassDB
Diffstat (limited to 'core/bind/core_bind.h')
| -rw-r--r-- | core/bind/core_bind.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h index 9a4f26a12..a6ccf4765 100644 --- a/core/bind/core_bind.h +++ b/core/bind/core_bind.h @@ -246,6 +246,9 @@ public: void set_use_file_access_save_and_swap(bool p_enable); void set_icon(const Image& p_icon); + + int get_exit_code() const; + void set_exit_code(int p_code); Dictionary get_date(bool utc) const; Dictionary get_time(bool utc) const; Dictionary get_datetime(bool utc) const; |
