diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-09-23 10:24:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-23 10:24:46 +0200 |
commit | 006e345695a0448acefd63dcb726a07b63cb1d0d (patch) | |
tree | 78e020ad93b2525718e1d65999d853442f2a870c /core/extension | |
parent | 03410efa15b88fc1e55476efb6b47d5079d34c96 (diff) | |
parent | 163257d51bd103588da246d39ab5d10afaf15c09 (diff) |
Merge pull request #65817 from bruvzg/typed_array
Diffstat (limited to 'core/extension')
-rw-r--r-- | core/extension/extension_api_dump.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/extension/extension_api_dump.cpp b/core/extension/extension_api_dump.cpp index 06cd98264a..e6e0fff266 100644 --- a/core/extension/extension_api_dump.cpp +++ b/core/extension/extension_api_dump.cpp @@ -46,6 +46,9 @@ static String get_type_name(const PropertyInfo &p_info) { return p_info.hint_string + "*"; } } + if (p_info.type == Variant::ARRAY && (p_info.hint == PROPERTY_HINT_ARRAY_TYPE)) { + return String("typedarray::") + p_info.hint_string; + } if (p_info.type == Variant::INT && (p_info.usage & (PROPERTY_USAGE_CLASS_IS_ENUM))) { return String("enum::") + String(p_info.class_name); } |