mirror of
https://github.com/godotengine/godot.git
synced 2025-10-23 18:03:35 +00:00
Allow PluginScript to customize language's can_inherit_from_file attribute
This commit is contained in:
parent
efc2104096
commit
014efeb272
3 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue