diff options
| author | Juan Linietsky | 2018-05-14 17:59:34 -0300 |
|---|---|---|
| committer | GitHub | 2018-05-14 17:59:34 -0300 |
| commit | 47d4a011d8cacbdf95f9cae6d29db1f4dc1de734 (patch) | |
| tree | 6f2376ca997b9899f37f5d25aa30d515cdd91d98 /core | |
| parent | 92f1debf0824f8eb8e2e38450dc34542be079375 (diff) | |
| parent | decf178033d4176b0955b8efa8a081f7bccd7ed1 (diff) | |
| download | godot-47d4a011d8cacbdf95f9cae6d29db1f4dc1de734.tar.gz godot-47d4a011d8cacbdf95f9cae6d29db1f4dc1de734.tar.zst godot-47d4a011d8cacbdf95f9cae6d29db1f4dc1de734.zip | |
Diffstat (limited to 'core')
| -rw-r--r-- | core/script_language.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/script_language.h b/core/script_language.h index 55a20c747..b4c55cac9 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -236,6 +236,8 @@ public: virtual void auto_indent_code(String &p_code, int p_from_line, int p_to_line) const = 0; virtual void add_global_constant(const StringName &p_variable, const Variant &p_value) = 0; + virtual void add_named_global_constant(const StringName &p_name, const Variant &p_value) {} + virtual void remove_named_global_constant(const StringName &p_name) {} /* MULTITHREAD FUNCTIONS */ |
