summaryrefslogtreecommitdiff
path: root/modules/mono/csharp_script.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-10-24 21:17:58 +0200
committerGitHub <noreply@github.com>2021-10-24 21:17:58 +0200
commit6ccc3e4d87e62e6bc328b4beff8c89cdeec1aab9 (patch)
tree74351b0b91e2263d2725d0892071ee6d93268469 /modules/mono/csharp_script.h
parent80801e5f66d180f15d151dd50b6d7731208a4dd5 (diff)
parentc6ecc04114c17b60840fa12d45e2c9ce14fe9f56 (diff)
Merge pull request #54130 from raulsntos/csharp-exports
Keep order for C# exported members
Diffstat (limited to 'modules/mono/csharp_script.h')
-rw-r--r--modules/mono/csharp_script.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/csharp_script.h b/modules/mono/csharp_script.h
index afc17f694a..c998d9c1e4 100644
--- a/modules/mono/csharp_script.h
+++ b/modules/mono/csharp_script.h
@@ -154,7 +154,7 @@ private:
Set<StringName> exported_members_names;
#endif
- Map<StringName, PropertyInfo> member_info;
+ OrderedHashMap<StringName, PropertyInfo> member_info;
void _clear();
@@ -215,7 +215,7 @@ public:
void get_script_signal_list(List<MethodInfo> *r_signals) const override;
bool get_property_default_value(const StringName &p_property, Variant &r_value) const override;
- void get_script_property_list(List<PropertyInfo> *p_list) const override;
+ void get_script_property_list(List<PropertyInfo> *r_list) const override;
void update_exports() override;
void get_members(Set<StringName> *p_members) override;