summaryrefslogtreecommitdiff
path: root/modules/mono/mono_gd/gd_mono_method.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2019-05-20 18:34:35 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2019-06-03 17:09:24 +0200
commit14df9e5cb2e9f2de4adf9b979e8ef33de37b80bd (patch)
tree1f896d45a14d5a7c777d45b02ad7ca780cc30cd7 /modules/mono/mono_gd/gd_mono_method.cpp
parent22583ec6a39bb56943c78c0ed9a094b28b666b75 (diff)
Android build and export for the mono module
Diffstat (limited to 'modules/mono/mono_gd/gd_mono_method.cpp')
-rw-r--r--modules/mono/mono_gd/gd_mono_method.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/mono_gd/gd_mono_method.cpp b/modules/mono/mono_gd/gd_mono_method.cpp
index f290c6c8ac..968b316a3e 100644
--- a/modules/mono/mono_gd/gd_mono_method.cpp
+++ b/modules/mono/mono_gd/gd_mono_method.cpp
@@ -109,7 +109,7 @@ MonoObject *GDMonoMethod::invoke(MonoObject *p_object, const Variant **p_params,
for (int i = 0; i < params_count; i++) {
MonoObject *boxed_param = GDMonoMarshal::variant_to_mono_object(p_params[i], param_types[i]);
- mono_array_set(params, MonoObject *, i, boxed_param);
+ mono_array_setref(params, i, boxed_param);
}
MonoException *exc = NULL;