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 /core/object/script_language.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 'core/object/script_language.h')
-rw-r--r-- | core/object/script_language.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/object/script_language.h b/core/object/script_language.h index bfdedbe4a5..12a21150bc 100644 --- a/core/object/script_language.h +++ b/core/object/script_language.h @@ -37,6 +37,8 @@ #include "core/templates/rb_map.h" class ScriptLanguage; +template <typename T> +class TypedArray; typedef void (*ScriptEditRequestFunction)(const String &p_path); @@ -108,9 +110,9 @@ protected: virtual void _placeholder_erased(PlaceHolderScriptInstance *p_placeholder) {} Variant _get_property_default_value(const StringName &p_property); - Array _get_script_property_list(); - Array _get_script_method_list(); - Array _get_script_signal_list(); + TypedArray<Dictionary> _get_script_property_list(); + TypedArray<Dictionary> _get_script_method_list(); + TypedArray<Dictionary> _get_script_signal_list(); Dictionary _get_script_constant_map(); public: |