diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-08-24 08:18:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 08:18:56 +0200 |
commit | 91e5f48ea7321aee2ea35ebdeb0e6a041ee46e5b (patch) | |
tree | 0df1ace261d7e849d16269e7f1e5064ce6194c1f /editor/plugins/script_editor_plugin.h | |
parent | 4d9ddc8ab3b7528a5a7cc9a77371191feb46516b (diff) | |
parent | 1abdffe7a029daf634f57132cb5ab5d82a7ccfc9 (diff) | |
download | redot-engine-91e5f48ea7321aee2ea35ebdeb0e6a041ee46e5b.tar.gz |
Merge pull request #64009 from KoBeWi/arrayy_lmao
Replace Array return types with TypedArray (part 2)
Diffstat (limited to 'editor/plugins/script_editor_plugin.h')
-rw-r--r-- | editor/plugins/script_editor_plugin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/script_editor_plugin.h b/editor/plugins/script_editor_plugin.h index 5bd93e6e42..d1898efb69 100644 --- a/editor/plugins/script_editor_plugin.h +++ b/editor/plugins/script_editor_plugin.h @@ -386,7 +386,7 @@ class ScriptEditor : public PanelContainer { Array _get_cached_breakpoints_for_script(const String &p_path) const; ScriptEditorBase *_get_current_editor() const; - Array _get_open_script_editors() const; + TypedArray<ScriptEditorBase> _get_open_script_editors() const; Ref<ConfigFile> script_editor_cache; void _save_editor_state(ScriptEditorBase *p_editor); @@ -452,7 +452,7 @@ class ScriptEditor : public PanelContainer { void _file_dialog_action(String p_file); Ref<Script> _get_current_script(); - Array _get_open_scripts() const; + TypedArray<Script> _get_open_scripts() const; HashSet<String> textfile_extensions; Ref<TextFile> _load_text_file(const String &p_path, Error *r_error) const; |