summaryrefslogtreecommitdiff
path: root/modules/mono/mono_gd/gd_mono_property.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-10-19 07:56:02 +0200
committerGitHub <noreply@github.com>2021-10-19 07:56:02 +0200
commit3ee3197e409bdd69ee1176de7e75a7b11b365bfc (patch)
tree2b9b30d2e1fdf74d8e9673b5b941bf63f689661f /modules/mono/mono_gd/gd_mono_property.h
parentf4d9749e230130fd9b462c8eb745b6d01a3accf1 (diff)
parentcad05f012d9260803d9ce2afe644fb99cf72bf6d (diff)
Merge pull request #53975 from neikeq/csharp-fix-prop-setter-value
Diffstat (limited to 'modules/mono/mono_gd/gd_mono_property.h')
-rw-r--r--modules/mono/mono_gd/gd_mono_property.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/mono/mono_gd/gd_mono_property.h b/modules/mono/mono_gd/gd_mono_property.h
index af7a2c02e5..9bb1caa759 100644
--- a/modules/mono/mono_gd/gd_mono_property.h
+++ b/modules/mono/mono_gd/gd_mono_property.h
@@ -45,6 +45,8 @@ class GDMonoProperty : public IMonoClassMember {
bool attrs_fetched;
MonoCustomAttrInfo *attributes;
+ unsigned int param_buffer_size;
+
public:
virtual GDMonoClass *get_enclosing_class() const final { return owner; }
@@ -64,8 +66,7 @@ public:
_FORCE_INLINE_ ManagedType get_type() const { return type; }
- void set_value(MonoObject *p_object, MonoObject *p_value, MonoException **r_exc = nullptr);
- void set_value(MonoObject *p_object, void **p_params, MonoException **r_exc = nullptr);
+ void set_value_from_variant(MonoObject *p_object, const Variant &p_value, MonoException **r_exc = nullptr);
MonoObject *get_value(MonoObject *p_object, MonoException **r_exc = nullptr);
bool get_bool_value(MonoObject *p_object);