From 014efeb272977577cd8de6d59022693f78383ca8 Mon Sep 17 00:00:00 2001 From: Emmanuel Leblond Date: Tue, 8 Dec 2020 00:56:01 +0100 Subject: Allow PluginScript to customize language's can_inherit_from_file attribute --- modules/gdnative/include/pluginscript/godot_pluginscript.h | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/gdnative/include/pluginscript/godot_pluginscript.h') diff --git a/modules/gdnative/include/pluginscript/godot_pluginscript.h b/modules/gdnative/include/pluginscript/godot_pluginscript.h index 406c3ba663..e53d075bb2 100644 --- a/modules/gdnative/include/pluginscript/godot_pluginscript.h +++ b/modules/gdnative/include/pluginscript/godot_pluginscript.h @@ -127,6 +127,7 @@ typedef struct { const char **string_delimiters; // nullptr terminated array godot_bool has_named_classes; godot_bool supports_builtin_mode; + godot_bool can_inherit_from_file; godot_string (*get_template_source_code)(godot_pluginscript_language_data *p_data, const godot_string *p_class_name, const godot_string *p_base_class_name); godot_bool (*validate)(godot_pluginscript_language_data *p_data, const godot_string *p_script, int *r_line_error, int *r_col_error, godot_string *r_test_error, const godot_string *p_path, godot_packed_string_array *r_functions); -- cgit v1.2.3