aboutsummaryrefslogtreecommitdiff
path: root/core/script_language.h
diff options
context:
space:
mode:
authorreduz2015-12-28 15:59:20 -0300
committerreduz2015-12-28 15:59:20 -0300
commite0d21d2158e8d03ee3139392284915c19ee4619b (patch)
treeca2614960a86a2c2626365f8afec6ad1291aea95 /core/script_language.h
parent5d47e42eb69fcc0d1f502f9b5e72e064cb22d34e (diff)
downloadgodot-e0d21d2158e8d03ee3139392284915c19ee4619b.tar.gz
godot-e0d21d2158e8d03ee3139392284915c19ee4619b.tar.zst
godot-e0d21d2158e8d03ee3139392284915c19ee4619b.zip
Diffstat (limited to 'core/script_language.h')
-rw-r--r--core/script_language.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/script_language.h b/core/script_language.h
index 9660f141c..52ae4e488 100644
--- a/core/script_language.h
+++ b/core/script_language.h
@@ -165,6 +165,7 @@ public:
virtual String make_function(const String& p_class,const String& p_name,const StringArray& p_args) const=0;
virtual Error complete_code(const String& p_code, const String& p_base_path, Object*p_owner,List<String>* r_options,String& r_call_hint) { return ERR_UNAVAILABLE; }
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;
/* DEBUGGER FUNCTIONS */