diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-12-08 12:46:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-08 12:46:02 +0100 |
commit | d94de32579a7a42d4751401f7fc50d5608bf9d46 (patch) | |
tree | 137727aee5a10113418e38d87292780f3db01af0 /modules/gdnative/include/pluginscript | |
parent | 0f6745b6aabdab534049e8d1d49f8ddd41fcd1cb (diff) | |
parent | 014efeb272977577cd8de6d59022693f78383ca8 (diff) |
Merge pull request #44177 from touilleMan/pluginscript-allow-custom-can_inherit_from_file
Allow PluginScript to customize language's can_inherit_from_file attribute
Diffstat (limited to 'modules/gdnative/include/pluginscript')
-rw-r--r-- | modules/gdnative/include/pluginscript/godot_pluginscript.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |