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/include/pluginscript/godot_pluginscript.h | |
parent | efc2104096162548b6332af2bdab4ddaa009721c (diff) | |
download | redot-engine-014efeb272977577cd8de6d59022693f78383ca8.tar.gz |
Allow PluginScript to customize language's can_inherit_from_file attribute
Diffstat (limited to 'modules/gdnative/include/pluginscript/godot_pluginscript.h')
-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); |