diff options
| author | Rémi Verschelde | 2017-01-10 15:29:39 +0100 |
|---|---|---|
| committer | GitHub | 2017-01-10 15:29:39 +0100 |
| commit | 98568437179cc65d7ce90372f1d7f7db4ebdfd56 (patch) | |
| tree | 00200682da8c190e036c8cf6e6c366768a3bb88d /core/bind/core_bind.h | |
| parent | 1105b4288364a859f11a24937e6091e4bd0fa872 (diff) | |
| parent | fbfcc981d95d94a3d7dfbc214e37bb02da3dec66 (diff) | |
| download | godot-98568437179cc65d7ce90372f1d7f7db4ebdfd56.tar.gz godot-98568437179cc65d7ce90372f1d7f7db4ebdfd56.tar.zst godot-98568437179cc65d7ce90372f1d7f7db4ebdfd56.zip | |
Merge pull request #7462 from karroffel/error_code
expose 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 f1c98a58d..59f243a0e 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; |
