diff options
author | Emmanuel Leblond <emmanuel.leblond@gmail.com> | 2020-12-08 00:56:01 +0100 |
---|---|---|
committer | Emmanuel Leblond <emmanuel.leblond@gmail.com> | 2020-12-08 00:56:01 +0100 |
commit | 014efeb272977577cd8de6d59022693f78383ca8 (patch) | |
tree | b1a6deaf174d0a0e9d78a3e34ae9ca93e09a77d4 /modules/gdnative/pluginscript/pluginscript_language.h | |
parent | efc2104096162548b6332af2bdab4ddaa009721c (diff) |
Allow PluginScript to customize language's can_inherit_from_file attribute
Diffstat (limited to 'modules/gdnative/pluginscript/pluginscript_language.h')
-rw-r--r-- | modules/gdnative/pluginscript/pluginscript_language.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/pluginscript/pluginscript_language.h b/modules/gdnative/pluginscript/pluginscript_language.h index 53e1e3ae9b..feccef3e81 100644 --- a/modules/gdnative/pluginscript/pluginscript_language.h +++ b/modules/gdnative/pluginscript/pluginscript_language.h @@ -78,7 +78,7 @@ public: virtual Script *create_script() const; virtual bool has_named_classes() const; virtual bool supports_builtin_mode() const; - virtual bool can_inherit_from_file() { return true; } + virtual bool can_inherit_from_file(); virtual int find_function(const String &p_function, const String &p_code) const; virtual String make_function(const String &p_class, const String &p_name, const PackedStringArray &p_args) const; virtual Error complete_code(const String &p_code, const String &p_path, Object *p_owner, List<ScriptCodeCompletionOption> *r_options, bool &r_force, String &r_call_hint); |