diff options
author | Ignacio Etcheverry <neikeq@users.noreply.github.com> | 2018-08-24 16:27:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-24 16:27:43 +0200 |
commit | d72a281468f8dacb06f11c210528c4f678dbd5c4 (patch) | |
tree | 9b0ae06743685145f29007546cc0f0f1b6bf6143 /modules | |
parent | f41dddf069ab3747e38f2236db17a46ea55200b0 (diff) | |
parent | af39684885c519b44b654900fd89b80d4760fdb8 (diff) |
Merge pull request #20717 from PJB3005/18-08-04-godot-exceptions
Fix Mono exception handling.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mono/mono_gd/gd_mono_utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/mono_gd/gd_mono_utils.cpp b/modules/mono/mono_gd/gd_mono_utils.cpp index 911d629956..bebc3b863f 100644 --- a/modules/mono/mono_gd/gd_mono_utils.cpp +++ b/modules/mono/mono_gd/gd_mono_utils.cpp @@ -590,14 +590,14 @@ current_invoke_count = 0; MonoObject *runtime_invoke(MonoMethod *p_method, void *p_obj, void **p_params, MonoException **p_exc) { GD_MONO_BEGIN_RUNTIME_INVOKE; - MonoObject *ret = mono_runtime_invoke(p_method, p_obj, p_params, (MonoObject **)&p_exc); + MonoObject *ret = mono_runtime_invoke(p_method, p_obj, p_params, (MonoObject **)p_exc); GD_MONO_END_RUNTIME_INVOKE; return ret; } MonoObject *runtime_invoke_array(MonoMethod *p_method, void *p_obj, MonoArray *p_params, MonoException **p_exc) { GD_MONO_BEGIN_RUNTIME_INVOKE; - MonoObject *ret = mono_runtime_invoke_array(p_method, p_obj, p_params, (MonoObject **)&p_exc); + MonoObject *ret = mono_runtime_invoke_array(p_method, p_obj, p_params, (MonoObject **)p_exc); GD_MONO_END_RUNTIME_INVOKE; return ret; } |