diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-18 08:35:43 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-18 08:35:43 +0100 |
commit | 6da836bbb4541ed82faa63da9744878c691ceff3 (patch) | |
tree | a84c8a4adb2df14075d27d6e79ce5340f426d851 /core/core_bind.h | |
parent | 23e10d1dfff00eb1ea932b0d3e89ca444b5c0a51 (diff) | |
parent | 818a9e99a4bdbc6e3b12636ceff36759a778e848 (diff) |
Merge pull request #71514 from akien-mga/os-unset_environment
OS: Add `unset_environment`, better validate input
Diffstat (limited to 'core/core_bind.h')
-rw-r--r-- | core/core_bind.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/core_bind.h b/core/core_bind.h index 7ef346d1c4..c0c87fd009 100644 --- a/core/core_bind.h +++ b/core/core_bind.h @@ -162,7 +162,8 @@ public: bool has_environment(const String &p_var) const; String get_environment(const String &p_var) const; - bool set_environment(const String &p_var, const String &p_value) const; + void set_environment(const String &p_var, const String &p_value) const; + void unset_environment(const String &p_var) const; String get_name() const; String get_distribution_name() const; |