aboutsummaryrefslogtreecommitdiff
path: root/core/bind/core_bind.h
diff options
context:
space:
mode:
authorkarroffel2017-01-07 18:55:48 +0100
committerRémi Verschelde2017-01-12 19:15:30 +0100
commitb1fc41a3011d91b3625419e86d27085fb165b573 (patch)
tree1cbfeb1eff82162f4a6965a955ca01bb985ea4de /core/bind/core_bind.h
parent3cd976366e16bc77eb613273fed89baee2930808 (diff)
downloadgodot-b1fc41a3011d91b3625419e86d27085fb165b573.tar.gz
godot-b1fc41a3011d91b3625419e86d27085fb165b573.tar.zst
godot-b1fc41a3011d91b3625419e86d27085fb165b573.zip
exposed OS.set_exit_code and OS.get_exit_code to ObjectTypeDB
(cherry picked from commit fbfcc981d95d94a3d7dfbc214e37bb02da3dec66)
Diffstat (limited to '')
-rw-r--r--core/bind/core_bind.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h
index 5d1e8d23f..f9221dc8a 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;