diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-12 09:25:05 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-12 09:25:05 +0200 |
commit | 23e51c3cb563862fe9946e1838043a1f943067a5 (patch) | |
tree | 371bc591bb3855617b4e6e8f2d857632cc69dcdd /core/variant/array.h | |
parent | 18cdfb81011969efcab0dd0725a2fc6b6fdc00fd (diff) | |
parent | 27d1fb63e11b092be812e9f1fbd8730598ae9999 (diff) | |
download | redot-engine-23e51c3cb563862fe9946e1838043a1f943067a5.tar.gz |
Merge pull request #92888 from Hilderin/fix-unable-to-use-resourceLoader-in-c#-after-threaded-load
Fix inability to use ResourceLoader in C# after threaded load in GDScript
Diffstat (limited to 'core/variant/array.h')
-rw-r--r-- | core/variant/array.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/variant/array.h b/core/variant/array.h index 3aa957b312..12824ee3f6 100644 --- a/core/variant/array.h +++ b/core/variant/array.h @@ -186,12 +186,14 @@ public: void set_typed(uint32_t p_type, const StringName &p_class_name, const Variant &p_script); bool is_typed() const; bool is_same_typed(const Array &p_other) const; + bool is_same_instance(const Array &p_other) const; uint32_t get_typed_builtin() const; StringName get_typed_class_name() const; Variant get_typed_script() const; void make_read_only(); bool is_read_only() const; + static Array create_read_only(); Array(const Array &p_base, uint32_t p_type, const StringName &p_class_name, const Variant &p_script); Array(const Array &p_from); |